VBGamer
Content
News
Tutorials
Articles
Reviews
Post
News
Games
Resources
Games List
Links
Files
Forum
Other
Link to us
News ticker
Coded In VB
Configure
Console
Name
Pass
Register
Forgot your Password?
Home
|
Profile
|
Active Topics
|
Members
|
Search
|
FAQ
Username:
Password:
Save Password
Forgot your Password?
All Forums
VBGamer
VBGamer
Register and Unregister Context Menu for the lazy
Note:
You must be registered in order to post a reply.
Screensize:
640 x 480
800 x 600
1024 x 768
1280 x 1024
UserName:
Password:
Format Mode:
Basic
Help
Prompt
Format:
Font
Andale Mono
Arial
Arial Black
Book Antiqua
Century Gothic
Comic Sans MS
Courier New
Georgia
Impact
Lucida Console
Script MT Bold
Stencil
Tahoma
Times New Roman
Trebuchet MS
Verdana
Size
1
2
3
4
5
6
Color
Black
Red
Yellow
Pink
Green
Orange
Purple
Blue
Beige
Brown
Teal
Navy
Maroon
LimeGreen
Message:
* HTML is OFF
*
Forum Code
is ON
Smilies
[quote][i]Originally posted by DevlinSE[/i] [br]The 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? [/quote]
Insert an File
Check here to include your profile signature.
Check here to subscribe to this topic.
T O P I C R E V I E W
DevlinSE
Posted - Dec 28 2004 : 02:26:40 AM
The 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...
Btw, is there a way to tell vb not to register the dll when you compile the project?
VBGamer
©
This page was generated in 0.06 seconds.
Snitz Forums 2000
Copyright © 2002 - 2004 Eric Coleman, Peter Kuchnio , et. al.