Security warning

teiben

Registered User.
Local time
Today, 04:30
Joined
Jun 20, 2002
Messages
462
After reading tons of posting about this subject, for simplicity sake I need the code to run on startup, to change the security settings to low, so users don't get the message "Some files can harm your computer". any way I founds this: which I put on the load of the switchboard; using 97 still

dim o
set o=createobject ("Access.Application")
o.automationsecurity=1 ' set macro security LOW.
o.opencurrentdatabase "full path to your database"
o.visible=true
o.usercontrol=true
set o=nothing

when it reaches
set o = createobject ("access.application") I get a run-time 438 object doesn't support this property or method.
Any idea how to get this to run, or alternative code. help would greatly be appreciated
 

Users who are viewing this thread

Back
Top Bottom