Register and Unregister Context Menu for the lazy
DevlinSEThe registry script below adds a "Register" and "Unregister" context menus when you right click on a dll or ocx. Just copy and paste it to a text file with a ".reg" extension and double click to merge with the registry. ;******** start copy below this line ********* REGEDIT4 ; This adds the ability to Right-Click on a .dll or .ocx ; and get the Register / UnRegister context menus. ; ========== ; .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 ;******** end copy above this line ********* I just thought it may prove usefull to others... [:D] Btw, is there a way to tell vb not to register the dll when you compile the project?