Warning Message Following Hyperlink

C

Chaplain Doug

Access 2003, Windows XP. In my form I have a button that
opens a PDF help file as follows:

Application.FollowHyperlink "Help.pdf", , True

When this is executed I get a warning dialog that says:Opening "Help.pdf"

Hyperlinks can be harmful to your computer and data. To
protect your computer, click only those hyperlinks from
trusted sources. Do you want to continue?HOW CAN I GET RID OF THIS WARNING MESSAGE?
 
C

Chaplain Doug

Is there another way to programmatically open a PDF file
other than using an "Application.FollowHyperlink"?
-----Original Message-----
You can turn this off by making a small registry edit. The following KB
article explains how to do it:

How to disable hyperlink warning messages in Office 2003

http://support.microsoft.com/default.aspx?scid=kb;en- us;829072&Product=off2003
--
Sandra Daigle [Microsoft Access MVP]
Please post all replies to the newsgroup.


Chaplain said:
Access 2003, Windows XP. In my form I have a button that
opens a PDF help file as follows:

Application.FollowHyperlink "Help.pdf", , True

When this is executed I get a warning dialog that says:
Opening "Help.pdf"

Hyperlinks can be harmful to your computer and data. To
protect your computer, click only those hyperlinks from
trusted sources. Do you want to continue?
HOW CAN I GET RID OF THIS WARNING MESSAGE?


.
 
S

Sandra Daigle

In an earlier thread Dirk Goldgar suggested this workaround - you can call
the ShellExecute API, using code like that posted
on the Access Web at http://www.mvps.org/access/api/api0018.htm

Perhaps that will work for you.


--
Sandra Daigle [Microsoft Access MVP]
Please post all replies to the newsgroup.


Chaplain said:
Is there another way to programmatically open a PDF file
other than using an "Application.FollowHyperlink"?
-----Original Message-----
You can turn this off by making a small registry edit. The following
KB article explains how to do it:

How to disable hyperlink warning messages in Office 2003

http://support.microsoft.com/default.aspx?scid=kb;en-
us;829072&Product=off2003 --
Sandra Daigle [Microsoft Access MVP]
Please post all replies to the newsgroup.


Chaplain said:
Access 2003, Windows XP. In my form I have a button that
opens a PDF help file as follows:

Application.FollowHyperlink "Help.pdf", , True

When this is executed I get a warning dialog that says:

Opening "Help.pdf"

Hyperlinks can be harmful to your computer and data. To
protect your computer, click only those hyperlinks from
trusted sources. Do you want to continue?

HOW CAN I GET RID OF THIS WARNING MESSAGE?


.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top