Tuesday, February 08, 2005

Register OCX DLL by Senna Spy

Register OCX DLL by Senna Spy:
"Many peoples, uses the regsvr32.exe for register DLL and OCX files,
but have a trick for it.
Do you can register a DLL or OCX file, without regsvr32.exe !
Do you can make too, a registry entry for make a option in a
context menu 'mouse right click' in the DLL or OCX files.

For register DLL or OCX, do you can use the command:

rundll32 yourdll.dll,DLLRegisterServer
rundll32 yourocx.ocx,DLLRegisterServer

For unregister DLL or OCX:

rundll32 yourdll.dll,DLLUnregisterServer
rundll32 yourocx.ocx,DLLUnregisterServer

If do you want make a 'Right mouse-click' option, when you click in the
DLL or OCX files, enter in the REGEDIT and make the options:

For DLL Register:

HKEY_CLASSES_ROOT\dllfile
Make a new key 'Shell':

HKEY_CLASSES_ROOT\dllfile\shell
Make a new key 'Register':

HKEY_CLASSES_ROOT\dllfile\shell\register
In the 'Default' value, type: 'DLL Register'
And make a new key 'Command':

HKEY_CLASSES_ROOT\dllfile\shell\register\command
In the 'Default' value, type:
rundll32.exe '%1',DllRegisterServer

For DLL Unregister:

HKEY_CLASSES_ROOT\dllfile
Make a new key 'Shell':

HKEY_CLASSES_ROOT\dllfile\shell
Make a new key 'Unregister':

"

No comments: