Tools Links Login

OCX / DLL Registry File

This code will give REGISTER and UNREGISTER menu selections on the right mouse click on OCX and DLL files.

Original Author: Donathan Hutchings

Assumptions

Copy this code to a new text file in NotePad and save the file with the .reg extension. Take out the /s parameter to see the register/unregister notification messages.

Code

REGEDIT4
[HKEY_CLASSES_ROOTdllfileShellRegistercommand]
@="Regsvr32 /s "%1""
[HKEY_CLASSES_ROOTdllfileShellUnregistercommand]
@="Regsvr32 /s /u "%1""
[HKEY_CLASSES_ROOT.ocx]
@="ocxfile"
[HKEY_CLASSES_ROOTocxfile]
@="OCX"
[HKEY_CLASSES_ROOTocxfileShellRegistercommand]
@="Regsvr32 /s "%1""
[HKEY_CLASSES_ROOTocxfileShellUnregistercommand]
@="Regsvr32 /s /u "%1""

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 91 times

Categories

Visual Basic 6

Attachments

No attachments for this post


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.