How to turn off virus warning when open up pdf files

J

Josh Yuan

Hi,

I have coded visual basic code to open up PDF file based
on the hyperlink address in a field using FollowHyperlink
method.

However, each time the code run, it bring up the following
warning msg, which is annoying:

***Microsoft Office ************************
Opening c:\test.pdf

Some files can contain viruses or otherwise be harmful to
your computer. It is important to be certain that this
file is from a trustworthy source.

Would you like to open this file?

YES button No button

********************************************


Is there anyway to turn this warning off using vb code?


Your help is greatly appreciated.

Josh
 
M

Michel Walsh

Hi,


If so, that would be the first thing a malware would do... so, I doubt
there is a way, unless I missed something.



Hoping it may help,
Vanderghast, Access MVP
 
J

Josh Yuan

However, if the file is a Microsoft word document, then it
does not show the warning msg. So the system treat
the .PDF files differently.


Josh
 

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