Advertisement
ASP_Volume3 Registry #52607

Easy life registering ActiveX!

This lil tip add the commands to the explorer menu in order to register/unregister activex clicking on the file.

AI

AI Summary: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Source Code
original-source
<html>
<head>
<meta http-equiv="Content-Language" content="it">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Nuova pagina 1</title>
</head>
<body>
<p><b><font size="4" color="#FF0000" face="Tahoma">Easy way to 
Register/Unregister DLLs&nbsp; </font></b></p>
<p><font face="Tahoma">The lines below add the items<br>
Register <br>
Unregister<br>
to the Explorer menu when the user does right click on it with the mouse<br>
that will avoid to register manually everytime the activex using REGSVR32.EXE<br>
-copy to a file RegOCX.REG the lines below as is (with all spaces) then double 
click on it to <br>
add them to the registry<br>
REGEDIT4<br>
[HKEY_CLASSES_ROOT\ocxfile\shell]<br>
[HKEY_CLASSES_ROOT\ocxfile\shell\Register]<br>
@=&quot;&amp;Register OCX&quot;<br>
[HKEY_CLASSES_ROOT\ocxfile\shell\Register\command]<br>
@=&quot;\&quot;REGSVR32.EXE\&quot; \&quot;%1\&quot;&quot;<br>
[HKEY_CLASSES_ROOT\ocxfile\shell\Unregister]<br>
@=&quot;&amp;Unregister OCX&quot;<br>
[HKEY_CLASSES_ROOT\ocxfile\shell\Unregister\command]<br>
@=&quot;\&quot;REGSVR32.EXE\&quot; \&quot;%1\&quot; \&quot;/U\&quot; &quot;<br>
<br>
**** To do the same with the DLLs ****<br>
REGEDIT4<br>
[HKEY_CLASSES_ROOT\dllfile\shell]<br>
[HKEY_CLASSES_ROOT\dllfile\shell\Register]<br>
@=&quot;&amp;Register ActiveX DLL&quot;<br>
[HKEY_CLASSES_ROOT\dllfile\shell\Register\command]<br>
@=&quot;\&quot;REGSVR32.EXE\&quot; \&quot;%1\&quot;&quot;<br>
[HKEY_CLASSES_ROOT\dllfile\shell\Unregister]<br>
@=&quot;&amp;Unregister ActiveX DLL&quot;<br>
[HKEY_CLASSES_ROOT\dllfile\shell\Unregister\command]<br>
@=&quot;\&quot;REGSVR32.EXE\&quot; \&quot;%1\&quot; \&quot;/U\&quot; &quot;<br>
&nbsp;</font></p>
</body>
</html>
Original Comments (3)
Recovered from Wayback Machine