Share via

Virus warning message using hyperlink to PDF file from MS Access

Anonymous
2018-07-29T11:32:28+00:00

When clicking on a hyperlink on an Access form that leads to a PDF file stored on my computer, I get the following message:

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?

On clicking "OK" the PDF opens in PDF Architect 6 (my chosen/default software for opening PDF files).

For Office links (DOC etc.) and Images (JPG), the files open without the message.

Is there a way of suppressing the warning message for PDF files?

Thanks.

Microsoft 365 and Office | Access | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

3 answers

Sort by: Most helpful
  1. ScottGem 68,830 Reputation points Volunteer Moderator
    2018-07-29T16:04:04+00:00

    I use it in several apps and I don't encounter it.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2018-07-29T12:00:18+00:00

    Thanks for the quick reply - would this solve the problem I describe in the post as it would still involve opening a PDF file?

    Was this answer helpful?

    0 comments No comments
  3. ScottGem 68,830 Reputation points Volunteer Moderator
    2018-07-29T11:36:56+00:00

    I rarely use hyperlink fields. I'll store the location of the linked file in a text field, then use Application.FollowHyperlink to open the file.

    Other possibilities are to use the SHELL or SHELLEXECUTE command. (search on those for code samples)

    Was this answer helpful?

    0 comments No comments