Follow Hyperlink Warning

M

mpfohl

I have a field in my database to store the location of files (Word
documents, text, and pdfs)

Right now i use the followHyperlink method to open the selected file,
but it produces a warning saying 'hyperlinks are dangerous, are you
sure you want to continue, etc. etc.' the SetWarnings(false) does
not disable this warning.

Is there a way to turn off that warning OR, is there some other method
of opening these files that does not produce the warning?

Thanks
 
A

Allen Browne

It may depend on your computer's settings, but some of the warnings can be
circumvented if you add the "file:///' prefix.

For example, instead of:
C:/MyFolder/MyDoc.doc
set the hyperlink address to:
file:///C:/MyFolder/MyDoc.doc
 

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