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

RegSvr32 1

Status
Not open for further replies.

HobbitK

Technical User
Joined
Jan 14, 2003
Messages
235
Location
US
I need to register a DLL for a VB add-in I downloaded and cannot get RegSvr32 to run.
I went to Run then passed it this line:
RegSvr32.exe C:\Program Files\Microsoft Visual Studio\VB98\<DLLName>.dll
I get an error that says &quot; LoadLibrary(&quot;C:\Program&quot;) failed - The specified module cannot be found.&quot;
I know this is simple and I'm gonna feel really stupid when the answer is posted, but ...

Thaks
Michael
 
HobbitK -

When this happens (and the command line looks correct) you should make sure that any COM objects that YourVB.DLL depends on (via a reference) have been registered first.

For example, if you make database calls, and you have a reference to ADO 2.6, you need to make sure that ADO 2.6 has been previously installed. Otherwise your dll will not register.

Chip H.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top