Hi!
As I understood, you require to simulate the same functionality as if you double click on the Jpeg file in the explorer window (run application that is appropriate to selected file).
You can use ShellExecute API function to do this. Look into FAQ or articles section here to see how to use it.
>Hi all,
>
>I display a jpeg on a form via an image control (file path stored in table field, not a general field). Now, how can I open this for editing (or viewing in IE)? I'm hoping to put some code in the doubleclick method of the image that opens it up (so just like double clicking it in Windows Explorer). Do I need some API calls?
>
>Ta.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.