Application.Followhyperlink (1 Viewer)

Jacob Mathai

Registered User.
Local time
Today, 21:41
Joined
Sep 6, 2001
Messages
546
I use WindowsXP and ACCESS2007.

I want to open a .TIF file with ACCESS command:

fname="D:\myfile.TIF"
Application.FollowHyperlink fname


I get an error message:

Run-time error '486'
No program is registered to open this file.

How do I correct this problem? Thanks for your help.
 

SOS

Registered Lunatic
Local time
Today, 13:41
Joined
Aug 27, 2008
Messages
3,514
Make sure .tif files have a registered program. Open your Windows Explorer, go to TOOLS > FOLDER OPTIONS > FILE TYPES

and see what, if anything, it is registered to.
 

Jacob Mathai

Registered User.
Local time
Today, 21:41
Joined
Sep 6, 2001
Messages
546
Thanks a million.

I added TIF as a file extension. Now I can open .TIF file from ACCESS.
 

SOS

Registered Lunatic
Local time
Today, 13:41
Joined
Aug 27, 2008
Messages
3,514
Glad to hear that helped. :)
 

Users who are viewing this thread

Top Bottom