I've got the location of an image in a text box on a form and i have the image showing on the form in a image box but i want it to act like an OLE object so that when the image is double clicked it opens the image in photo editor.
I can get photo edit to load but can't get the image to open. This is the code i'm using so far.
Private Sub PHOTO1VIEW_DblClick(Cancel As Integer)
Dim RetVal
RetVal = Shell("C:\Program Files\PhotoEd\PHOTOED.exe me.photo1path", 1)
End Sub
Can someone please help!!
I can get photo edit to load but can't get the image to open. This is the code i'm using so far.
Private Sub PHOTO1VIEW_DblClick(Cancel As Integer)
Dim RetVal
RetVal = Shell("C:\Program Files\PhotoEd\PHOTOED.exe me.photo1path", 1)
End Sub
Can someone please help!!