Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Hyperlink to JPEG file opens in browser not default app

2 views
Skip to first unread message

Ondine

unread,
Jan 11, 2007, 5:09:31 AM1/11/07
to
Hi everyone

I have been using the following code to open a specific jpg file
relating to a record on a form:

Dim stLink As String
stLink = Me!Img1.Picture
Application.FollowHyperlink Me!Img1.Picture, , True

In the past this has happily opened the picture in whatever default
programme is set up on the pc in question for opening JPEGs, eg.
microsoft photo editor.

One of my clients has been complaining that in his case the image
always opens in his browser, no matter what file associations he has
set up.

Now the same thing is happening to me: I think it is since installing a
Windows xp update. I also am now using IE 7.0, although I doubt my
client is.

Double-clicking a jpg in Windows Explorer presents no problem, so I
guess it must be something to do with using the hyperlink.

Does anyone know of a way to get around this?

Many thanks.

Ondine

0 new messages