By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,508 Members | 2,949 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,508 IT Pros & Developers. It's quick & easy.

Hyperlink works using Win2K but terminates program when launchedusing XP

P: n/a
I created a simple form that includes a hyperlink field which when
clicked, launches any given pdf file saved in a multi-user network.

The problem is: It ONLY seems to work well when launched from a
workstation operating under Win2k. When launched from a workstation
operating under XP, files open succesfully only once then fail to open
the next time the database is reopened. The database then simply
shuts down asking if the error should be reported to Microsoft???

This database feature appeared to be working okay for a while
regardless of what operating system was used, but then took this
unexpected turn. I don't know what could have caused this?
Compact and Repair has failed to correct the problem. The only piece
of code running behind this hyperlink field is:

Private Sub LinkDoc_Click()
On Error GoTo Err_LinkDoc_Click

Application.FollowHyperlink LinkDoc, , False, True

Exit_LinkDoc_Click:
Exit Sub

Err_LinkDoc_Click:
'MsgBox Err.DESCRIPTION
Resume Exit_LinkDoc_Click

End Sub

Does anyone have any ideas as to where the problem may lie??

Thanks for your help!

Ruben
Aug 19 '08 #1
Share this Question
Share on Google+
1 Reply


P: n/a
well, this is kind of a WAG, but have you tried changing the New Window
argument from False to True?

hth
"Ruben" <ru*********@gmail.comwrote in message
news:8b**********************************@t1g2000p ra.googlegroups.com...
I created a simple form that includes a hyperlink field which when
clicked, launches any given pdf file saved in a multi-user network.

The problem is: It ONLY seems to work well when launched from a
workstation operating under Win2k. When launched from a workstation
operating under XP, files open succesfully only once then fail to open
the next time the database is reopened. The database then simply
shuts down asking if the error should be reported to Microsoft???

This database feature appeared to be working okay for a while
regardless of what operating system was used, but then took this
unexpected turn. I don't know what could have caused this?
Compact and Repair has failed to correct the problem. The only piece
of code running behind this hyperlink field is:

Private Sub LinkDoc_Click()
On Error GoTo Err_LinkDoc_Click

Application.FollowHyperlink LinkDoc, , False, True

Exit_LinkDoc_Click:
Exit Sub

Err_LinkDoc_Click:
'MsgBox Err.DESCRIPTION
Resume Exit_LinkDoc_Click

End Sub

Does anyone have any ideas as to where the problem may lie??

Thanks for your help!

Ruben

Aug 19 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.