T
tstew
Hello,
I have a form with a linked picture. I'm trying to make a double click event
to open the picture with Windows Picture and Fax Viewer. JPG's are associated
to open with that program.
The code is:
Private Sub PicPic_DblClick(Cancel As Integer)
Application.FollowHyperlink CurrentProject.Path & "\Pics\" &
[Pic_Location] & ".jpg"
End Sub
I get the following error message...
"Run-time error '490': Cannot open the specified file."
Any ideas why?
Thanks,
Mark
I have a form with a linked picture. I'm trying to make a double click event
to open the picture with Windows Picture and Fax Viewer. JPG's are associated
to open with that program.
The code is:
Private Sub PicPic_DblClick(Cancel As Integer)
Application.FollowHyperlink CurrentProject.Path & "\Pics\" &
[Pic_Location] & ".jpg"
End Sub
I get the following error message...
"Run-time error '490': Cannot open the specified file."
Any ideas why?
Thanks,
Mark