Enhance Development with Registry Edits

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_ROOTdllfileShellRegistercommand]@="RegSvr32 "%1""[HKEY_CLASSES_ROOTdllfileShellUnregistercommand]@="RegSvr32 /u "%1""

Right-click on OCX register/unregister:

 REGEDIT4[HKEY_CLASSES_ROOT.ocx]@="ocxfile"[HKEY_CLASSES_ROOTocxfile]@="OCX"[HKEY_CLASSES_ROOTocxfileshellRegistercommand]@="RegSvr32 "%1""[HKEY_CLASSES_ROOTocxfileshellUnregistercommand]@="RegSvr32 /u "%1""

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

 REGEDIT4[HKEY_CLASSES_ROOTdllfileShellOleViewcommand]@="c:\Visual Studio\Common\Tools\oleview.exe "%1"" [HKEY_CLASSES_ROOTocxfileShellOleViewcommand]@="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.

Share the Post:
data observability

Data Observability Explained

Data is the lifeblood of any successful business, as it is the driving force behind critical decision-making, insight generation, and strategic development. However, due to its intricate nature, ensuring the

Heading photo, Metadata.

What is Metadata?

What is metadata? Well, It’s an odd concept to wrap your head around. Metadata is essentially the secondary layer of data that tracks details about the “regular” data. The regular