M
Montana Rain
Let me start off by saying I do not know anythig about code. I
received help on this site to connect a jpg file to my data base by
using MyPic MyPath code. It was working fine even after I added Access
2007. This morining I deleted my XP Office softare so that the 2007
Office package would the only one on my system. That is when my
problem started. When I double click on "MyPic" now I get the
following message:
Runtime error '4866.
No program is registered to open this file
When I hit the debug button (as if I would know what to do) the code
pops up and the line "Application.FollowHyperlink Me.MyPath &
Me.MyPic, , , , , msoMethodGet" is highlighed in yellow.
Private Sub MyPic_DblClick(Cancel As Integer)
Application.FollowHyperlink Me.MyPath & Me.MyPic, , , , , msoMethodGet
End Sub
What can I do to salvage my code?
Thanks in advance
received help on this site to connect a jpg file to my data base by
using MyPic MyPath code. It was working fine even after I added Access
2007. This morining I deleted my XP Office softare so that the 2007
Office package would the only one on my system. That is when my
problem started. When I double click on "MyPic" now I get the
following message:
Runtime error '4866.
No program is registered to open this file
When I hit the debug button (as if I would know what to do) the code
pops up and the line "Application.FollowHyperlink Me.MyPath &
Me.MyPic, , , , , msoMethodGet" is highlighed in yellow.
Private Sub MyPic_DblClick(Cancel As Integer)
Application.FollowHyperlink Me.MyPath & Me.MyPic, , , , , msoMethodGet
End Sub
What can I do to salvage my code?
Thanks in advance