473,396 Members | 1,945 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Hyperlink works using Win2K but terminates program when launchedusing XP

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
1 1421
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Salad | last post by:
If I create a field as a hyperlink, Access will open the hyperlink if I single click it. Is there a method within the operating system that would tell access to only open the hyperlink if...
5
by: Martha | last post by:
When I move my mouse over a hyperlink component, the hyperlink does not change color. How do I change the color of a hyperlink when the mouse goes over the hyperlink? or Change the color of a...
0
by: Ryan Harvey | last post by:
Hi all, I have written a web user control that contains a repeater control. the ItemTemplate for this control is basically 6 Hyperlinks in a row, that are dynamically allocated one of 7 gif...
1
by: Andy Todd | last post by:
Hi We have just moved an ASP.NET application into the live environment which is as follows: Sun Proxy Server / Firewall Windows 2000 Server / IIS5 The URL for the site maps to the Sun...
19
by: Joe | last post by:
I have an aspx page (referred to here as page_1) with a datagrid whose first column contains hyperlinks. When a user clicks one of these hyperlinks, he will navigate to another aspx page (referred...
4
by: Adrian Parker | last post by:
I have a web app that has one problem when deployed on win2003 but works fine on win2k. On a page, I have a button that causes a reload of the page with a different set of querystring values (to...
20
by: tshad | last post by:
I had posted this problem earlier and just noticed that the Hyperlink is the problem. Apparently, it doesn't figure out the path correctly. It uses the path of the file it is in, even if it is...
5
LAD
by: LAD | last post by:
Using Access 2003 on Windows 2000. My Skill Level: Med Low (Some VBA, okay with Access) Form: Single View - based on Query of single Table to sort by field. Application: Dealers email 'contract...
10
by: sierra7 | last post by:
I'm trying to create a form where a user enters a document reference number and then clicks a command button to add a hyperlink to the document, via a file picker. Thanks to Adezii's excellent...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.