Override System Generated Message

  • Thread starter Thread starter Jay M. via AccessMonster.com
  • Start date 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
 
The only way to do that is to set Macro Security to Low. Tools-->Macros,
security tab.
 
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
 
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
 
Back
Top