I have a file dialog.i have filtered out the type of file i need.but how could i open the file in the application after selecting it?after clicking "open" in the dialog , i need to see the file.

What do you mean by 'open'? View the file's contents? What type of file is it (text/ bin/ ...)

It is a jpeg file.I want to view that file in the same window in which the application runs.
I have to run another exe file also.first help me in displaying th jpeg file.

What OS / Compiler are you using? If it's a gui-program, what are you using: (mfc/win32/wxwidgets...)?

im using vc++ and windows XP.Its an MFC dialog based application.

here's a link

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.