>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?
Hello, Rene.
You can use Window Scripting Host to launch the associated app for this kind of image.
oShell = CreateObject( "WScript.Shell" )
oShell.Run( fullname_of_your_image_file, 1 )
You can get more information about WSH in a series of articles of George Tasker and Ed Rauh at
www.vfug.org (think it started around september 2000).
Hope this helps.