Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mark ActiveX Control as safe?

Status
Not open for further replies.
Mar 14, 2002
711
0
0
US
I am setting up an intranet page where a user can load different databases, i.e. open the database from the server, and with the Shell command on the ASP page, I am able to open the DB, but only if I set the "Unsafe" ActiveX control to prompt or accept, so how I can add my control to the "safe" list, and I am not even sure if this is even possible since I have never worked with ActiveX before.

here is the code snippet:

<SCRIPT LANGUAGE=VBScript>
Set MyObject = CreateObject("Access.application")
MyObject.Visible = True
MyObject.OpenCurrentDatabase ("K:/Shared Folders/SAFETY/Safety Database.mdb")
</SCRIPT>

Thanks in advance!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top