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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Visual Basic 5 Pro -- Active X DLL

Status
Not open for further replies.

UnkUser

Technical User
Aug 23, 2001
11
US
I am attempting to create an Active X DLL which accesses a Jet DB, but I keep getting the following error when I attempt to use the Make menu command:

Permission denied.

It halts on the ".Workspaces" part of the DBEngine.Workspaces(0).OpenDatabase (...) command.

I have added the DAO 3.5 Object Library to the References. The compile options are set for Compile to Native Code - Optimize for Fast Code and none of the Advanced options are checked.

Does anyone have any ideas on the cause and solutions for this error?
 
A similar error is generated when attempting to create a Statndard EXE:

Run-time error '429':

ActiveX component can't create object.

Apparently, these errors are caused by the DBEngine license key not being loaded into the registry. (See MS Support Knowledgebase document Q240377, The solution is item #4 in the document. Save the three lines that are shown in item #4 with a ".reg" extension. Then import them into the registry by using RegEdit.exe. RegEdit should be located in the C:\Windows folder.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top