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.
 

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

Back
Top