Instead of having to do a
for each dll you need to register, it's easier to have a "Register/Unregister" option in the right click menu for DLLs.Code:regsvr32 "c:\whatever\something.dll"
Create a reg file, and add the following to it:
Then, run the .reg file, and the next time you right click a DLL or OCX, the option to register or unregister it should be there. Note that "Register" becomes the default option in the right click menu when you run the .reg file.Code:REGEDIT4 [HKEY_CLASSES_ROOT\dllfile\Shell] @="Register" [HKEY_CLASSES_ROOT\dllfile\Shell\Register] [HKEY_CLASSES_ROOT\dllfile\Shell\Register\command] @="regsvr32.exe %1" [HKEY_CLASSES_ROOT\dllfile\Shell\Unregister] [HKEY_CLASSES_ROOT\dllfile\Shell\Unregister\command] @="regsvr32.exe /u %1" [HKEY_CLASSES_ROOT\.ocx] @="ocxfile" [HKEY_CLASSES_ROOT\ocxfile] @="OCX File" "EditFlags"=hex:00,00,01,00 [HKEY_CLASSES_ROOT\ocxfile\Shell] @="Register" [HKEY_CLASSES_ROOT\ocxfile\Shell\Register] [HKEY_CLASSES_ROOT\ocxfile\Shell\Register\command] @="regsvr32.exe %1" [HKEY_CLASSES_ROOT\ocxfile\Shell\Unregister] [HKEY_CLASSES_ROOT\ocxfile\Shell\Unregister\command] @="regsvr32.exe /u %1"
I found this useful, and thought I'd share it with all of you here.![]()




Reply With Quote