Dialog box when opening hyperlink

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there a way to stop the dialog box that warns of possible harmful content
in a hyperlink?
I link my DB to PDF documents and when you click the link, you get the
message. Click "OK" and the document opens.
 
mblair8530 said:
Is there a way to stop the dialog box that warns of possible harmful
content in a hyperlink?
I link my DB to PDF documents and when you click the link, you get the
message. Click "OK" and the document opens.

I'm not sure if this will prevent the message or not, but you could try
using a text field instead of a hyperlink, and use the
Application.FollowHyperlink method to "follow" it. That *might* not put
up the warning dialog.

Failing that, you could call the Windows ShellExecute API to open the
file, using the code here:

http://www.mvps.org/access/api/api0018.htm
API: Start an app with ShellExecute

I've never seen that put up a warning.
 
Back
Top