Supress Warning Msg.

  • Thread starter Thread starter Larry
  • Start date Start date
L

Larry

I have constructed and Access 2k application that uses
the "hyperlink" datatype to open Acrobat PDF files for
document management, nothing complex. Every PDF file link
that is clicked on, in my database form, generates this
message:

Opening C:\Documents and Settings\Desktop\Access\012.pdf
"Some Files can contain viruses or otherwise br 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? Y/N

If "yes" is clicked, the PDF opens just fine. If I click
directly on the folder which contains the PDFs, the also
open just fine. The issue is when using a hyperlink in an
Access form, the message appears. This seems to happen for
ANY linked object (chm, hlp, pdf files for example.
Appreciate your assistance.
 
I have constructed and Access 2k application that uses
the "hyperlink" datatype to open Acrobat PDF files for
document management, nothing complex. Every PDF file link
that is clicked on, in my database form, generates this
message:

Opening C:\Documents and Settings\Desktop\Access\012.pdf
"Some Files can contain viruses or otherwise br 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? Y/N

If "yes" is clicked, the PDF opens just fine. If I click
directly on the folder which contains the PDFs, the also
open just fine. The issue is when using a hyperlink in an
Access form, the message appears. This seems to happen for
ANY linked object (chm, hlp, pdf files for example.
Appreciate your assistance.

I think that this is normal behavior with the hyperlink approach (likely a
internet explorer security feature). You may find that using an API call to open
the file will be less offensive. See http://www.mvps.org/access/api/api0018.htm
for code to do this.
 
Back
Top