Friday, January 22, 2010
add Register/Unregister to context menu
To add Register / Unregister menu to context menu of DLL and Ocx file follow the steps below
1. Click on start --- Run
2. Type Notepad and press Enter
3. copy following text in notepad and save file as "anyname.reg"
4. Then double click on file it will ask you confirmation for merging values in registry. click ok.
Now right click on any dll or ocx file you will fing new menu register and unregister
REGEDIT4
; This adds the ability to Right-Click on a .dll or .ocx
; and get the Register / UnRegister options.
; ==========
; .DLL files
; ==========
[HKEY_CLASSES_ROOT\.dll]
"Content Type"="application/x-msdownload"
@="dllfile"
[HKEY_CLASSES_ROOT\dllfile]
@="Application Extension"
[HKEY_CLASSES_ROOT\dllfile\Shell\Register\command]
@="regsvr32.exe \"%1\""
[HKEY_CLASSES_ROOT\dllfile\Shell\UnRegister\command]
@="regsvr32.exe /u \"%1\""
; ==========
; .OCX files
; ==========
[HKEY_CLASSES_ROOT\.ocx]
@="ocxfile"
[HKEY_CLASSES_ROOT\ocxfile]
@="OCX"
[HKEY_CLASSES_ROOT\ocxfile\Shell\Register\command]
@="regsvr32.exe \"%1\""
[HKEY_CLASSES_ROOT\ocxfile\Shell\UnRegister\command]
@="regsvr32.exe /u \"%1\""
; End
Subscribe to:
Post Comments (Atom)
1 comment:
Cool this help me alot
Post a Comment