My shared items

 

Tuesday, August 28, 2007

DLL Register And UnRegister in Mouse Context Menu


Normal Case:
For register DLL or OCX:
rundll32 yourdll.dll,DLLRegisterServer
rundll32 yourocx.ocx,DLLRegisterServer

For unregister DLL or OCX:
rundll32 yourdll.dll,DLLUnregisterServer
rundll32 yourocx.ocx,DLLUnregisterServer

For Mouse Context Menu:

If do you want make a "Right mouse-click" option, 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":

HKEY_CLASSES_ROOT\dllfile\shell\unregister
In the "Default" value, type: "DLL Unregister"
And make a new key "Command":

HKEY_CLASSES_ROOT\dllfile\shell\unregister\command
In the "Default" value, type:
rundll32.exe "%1",DllUnregisterServer


For OCX Register:

HKEY_CLASSES_ROOT\ocxfile
Make a new key "Shell":

HKEY_CLASSES_ROOT\ocxfile\shell
Make a new key "Register":

HKEY_CLASSES_ROOT\ocxfile\shell\register
In the "Default" value, type: "OCX Register"
And make a new key "Command":

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

For OCX Unregister:

HKEY_CLASSES_ROOT\ocxlfile
Make a new key "Shell":

HKEY_CLASSES_ROOT\ocxfile\shell
Make a new key "Unregister":

HKEY_CLASSES_ROOT\ocxfile\shell\unregister
In the "Default" value, type: "OCX Unregister"
And make a new key "Command":

HKEY_CLASSES_ROOT\ocxfile\shell\unregister\command
In the "Default" value, type:
rundll32.exe "%1",DllUnregisterServer

1 comment:

Anonymous said...

Buy Tramadol<< [u][b]Tramadol Online INFORMATION and SALE[/b][/u] >>

[url=http://shrten.com/dk0][img]http://xmages.net/out.php/i24758_tramadol.jpg[/img][/url]

[url=http://shrten.com/dk1][u]Click Here to order cheap Tramadol[/u][/url]



tramadol vs vicodin
tramadol sale 100 mg
tramadol shipped cod
purchase tramadol online
tramadol mastercard
what is tramadol 50mg
tramadols
tramadol hcl 50mg tab
tramadol overnight
cheap tramadol fedex overnight
tramadol habit forming
what is tramadol 50 mg
is tramadol hcl a narcotic
is tramadol an opiate
buy tramadol online
buy tramadol on line
tramadol hydrochloride ultram
information tramadol
tramadol codeine
tramadol arthritis
tramadol an 627
crushing tramadol
tramadol and marijuana
delivery tramadol
tramadol vs ultram
pharmacy order tramadol
is tramadol like vicodin?
generic ultram tramadol
hci tablet tramadol ultram
no perscription tramadol