dcsimg
Login | Register   
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.


Tip of the Day
Language: Visual Basic
Expertise: Intermediate
Aug 26, 1999

WEBINAR:

On-Demand

Application Security Testing: An Integral Part of DevOps


Enhance Development with Registry Edits

Here are a couple useful Registry edits to enhance your day-to-day Visual Basic development. Save these Registry lines to a text file with a REG extension, and then double-click on the file to merge it with your Registry.

Right-click on DLL register/unregister (make sure RegSvr32.exe is on your path):

 
REGEDIT4
[HKEY_CLASSES_ROOT\dllfile\Shell\Register\command]
@="RegSvr32 \"%1\""
[HKEY_CLASSES_ROOT\dllfile\Shell\Unregister\command]
@="RegSvr32 /u \"%1\""

Right-click on OCX register/unregister:

 
REGEDIT4
[HKEY_CLASSES_ROOT\.ocx]
@="ocxfile"
[HKEY_CLASSES_ROOT\ocxfile]
@="OCX"
[HKEY_CLASSES_ROOT\ocxfile\shell\Register\command]
@="RegSvr32 \"%1\""
[HKEY_CLASSES_ROOT\ocxfile\shell\Unregister\command]
@="RegSvr32 /u \"%1\""

Right-click on OLEView to open a DLL or OCX in the OLE Viewer utility (edit paths appropriately):

 
REGEDIT4
[HKEY_CLASSES_ROOT\dllfile\Shell\OleView\command]
@="c:\\Visual Studio\\Common\\Tools\\oleview.exe \"%1\"" 
[HKEY_CLASSES_ROOT\ocxfile\Shell\OleView\command]
@="c:\\Visual Studio\\Common\\Tools\\oleview.exe \"%1\"" 

These shell extensions work for previous versions of VB as well; simply change the commands and/or paths appropriately. Editor's Note: As with all Registry edits, be sure you either have a current backup or can live with the consequences.

Richard Hundhausen
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date