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!

Register a new DLL

Status
Not open for further replies.

MikeLoon

Programmer
Dec 12, 2002
33
0
0
US
Can you automatically run "Regsrv32" to register a new DLL in an Access App
 
You could try using the RunApp action. It is closely related the the VB SHELL command.

I hope this helps.
Noble
 
Combine this thread, which describes a method to ensure all expected references exist: thread181-437632
with the Shell &quot;regsvr32 <yourdllname.dll>&quot; command and I believe you have your answer. You can register a DLL if it doesn't exist...but only if it doesn't exist.

The other (awful) solution is to attempt to register the DLL every time your application opens.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top