[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 218
  • Last Modified:

DLL is registered on the machine but into the code

Is it possible to register a DLL created before in VB into the code¿?, or I must register it into the menu of VB in references¿?
0
1469
Asked:
1469
3 Solutions
 
nffvrxqgrcfqvvcCommented:
How To Register Your Custom ActiveX DLL from a Client
http://support.microsoft.com/?kbid=173407
0
 
1469Author Commented:
It´s good, but my problem it´s the follow,

I have created a dll in vb that I´m gonna use in excel.

I declare at the top
private declare function xxxxx

but it said me that it couldn´t find that dll.
0
 
Mark_FreeSoftwareCommented:

make sure to register the dll by typing this in the command prompt:

regsvr32 "path/to/your/dll"
0
 
Leo EikelmanCommented:
Check your registry for the names of the components that you registered.

(this is assuming you registered your dll using regsvr32.exe)

Go to your registry (Start->Run. Type in regedit) and navigate to this location

HKEY_CLASSES_ROOT/

If you registered your DLL corectly it will be in this list.  If you locate it then make sure the name specified here is the name you are using in your app.

Cheers
0
 
Leo EikelmanCommented:
Cheers :)

Happy programming

Leo
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now