I know this has probably been asked a thousand times , but how do a register a dll from visual basic code.??
thanks
daveR
Printable View
I know this has probably been asked a thousand times , but how do a register a dll from visual basic code.??
thanks
daveR
Dave,
If you have the DLL project open you can select Make Project.dll from the File menu. This should automatically register your dll.
If you have a DLL only (not source code) and you want to register it on your machine you can run regsvr32.exe:
Put DLL wherever you want it then
click on Run... from the start menu
Enter: regsvr32.exe c:\pathname\MyVBClass.dll
this should register your dll.
To unregister use the same command but add the parameter <space>/u to the end.
Hope this helps.
Cheers Andy.
cheers andy
To do this from code, look at my post on this thread :
http://forums.vb-world.net/showthrea...light=register
Look at this thread to see if the Dll register worked :
http://forums.vb-world.net/showthrea...light=register