Override System Generated Message

  • Thread starter Jay M. via AccessMonster.com
  • Start date
J

Jay M. via AccessMonster.com

I have a button on my form that when clicked with open an attachment. The
onclick is:
application.followhyperlink :c:\docs\form.doc

But when I click on the button I get a system generation message that " this
file could contain a virus and be harmful to your computer. Check if it is
from a trustworthy source. Would you like to open this file?"

How can I suppress this warning so that the user can click on the button and
have the attachment appear without the warning?

Thanks,
Jay
 
G

Guest

The only way to do that is to set Macro Security to Low. Tools-->Macros,
security tab.
 
J

Jay M. via AccessMonster.com

Under Tools>Macros, all I see is the visual basic editor option, not a
security tab....I'm running Access2002.

Please help..
Jay
The only way to do that is to set Macro Security to Low. Tools-->Macros,
security tab.
I have a button on my form that when clicked with open an attachment. The
onclick is:
[quoted text clipped - 9 lines]
Thanks,
Jay
 
G

Guest

Sorry, I have not used 02, skipped from 2K to 03. I don't know if it is
different in that version.

Jay M. via AccessMonster.com said:
Under Tools>Macros, all I see is the visual basic editor option, not a
security tab....I'm running Access2002.

Please help..
Jay
The only way to do that is to set Macro Security to Low. Tools-->Macros,
security tab.
I have a button on my form that when clicked with open an attachment. The
onclick is:
[quoted text clipped - 9 lines]
Thanks,
Jay
 

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