Skip to content

Is there any way to use OpenFileDialog in Console Application?, and few more thing ...

Kirill Malikov

Asked Aug 28, 2010, 11:26 PM EDT1 answer
Share
LinkedInX

Hey, Is there any way to use OpenFileDialog in Console Application?

And how can i make something like this? (IF Exit Then Run some code and after that Exit)

last question, how can i use something that i add to the project? like some *.wav file, how can i play it?

Thank you.

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • Mahesh Chand
    0
    On Exit event handler or exit button click or wherever you care closing the application, you need to call another application using Process class. In Process, you can pass full-path of an application and it will run.
    Here is some information on Process class.
    http://www.c-sharpcorner.com/UploadFile/puranindia/292/Default.aspx
    0