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


Tip of the Day
Language: Visual Basic
Expertise: Intermediate
Feb 7, 2003

Merge VBL Files into Your Registry


Use this tip when developing ActiveX components and testing ActiveX OCXs that require license files. These Registry entries allow you to merge VBL file contents into the Registry. You add three context menu options for VBL files: Merge (into the Registry), Edit, and Print:
 
REGEDIT4

[HKEY_CLASSES_ROOT\.vbl]
@="VisualBasic.VBLFile"

[HKEY_CLASSES_ROOT\VisualBasic.VBLFile]
@="Visual Basic Control License File"

[HKEY_CLASSES_ROOT\VisualBasic.VBLFile\DefaultIcon]
@="NOTEPAD.EXE,1"

[HKEY_CLASSES_ROOT\VisualBasic.VBLFile\shell]

[HKEY_CLASSES_ROOT\VisualBasic.VBLFile\shell\edit]
@="&Edit"

[HKEY_CLASSES_ROOT\VisualBasic.VBLFile\shell\edit\command]
@="NOTEPAD.EXE \"%1\""

[HKEY_CLASSES_ROOT\VisualBasic.VBLFile\shell\open]
@="Mer≥"

[HKEY_CLASSES_ROOT\VisualBasic.VBLFile\shell\open\command]
@="regedit.exe \"%1\""

[HKEY_CLASSES_ROOT\VisualBasic.VBLFile\shell\print]

[HKEY_CLASSES_ROOT\VisualBasic.VBLFile\shell\print\command]
@="NOTEPAD.EXE /P \"%1\""

Editor
Tom Sweet
 
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