Error Message

S

SHIPP

I have the following bit of code to open a new access database and close the
existing one.

Application.FollowHyperlink (strPath & strFile)
' Close currently open database.
Application.Quit

It works fine except that the user keeps on getting the following message.

Some files can contain viruses or otherwise be harmful...

Would you like to open this file?

OK Cancel

The user has to click OK in order for the code to work. It is an irritant.
Is there anyway to not have this message come up? I'm using Access 97. Thanks
in advance for your assistance.
 
Top