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
<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 </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> @="&Register OCX"<br> [HKEY_CLASSES_ROOT\ocxfile\shell\Register\command]<br> @="\"REGSVR32.EXE\" \"%1\""<br> [HKEY_CLASSES_ROOT\ocxfile\shell\Unregister]<br> @="&Unregister OCX"<br> [HKEY_CLASSES_ROOT\ocxfile\shell\Unregister\command]<br> @="\"REGSVR32.EXE\" \"%1\" \"/U\" "<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> @="&Register ActiveX DLL"<br> [HKEY_CLASSES_ROOT\dllfile\shell\Register\command]<br> @="\"REGSVR32.EXE\" \"%1\""<br> [HKEY_CLASSES_ROOT\dllfile\shell\Unregister]<br> @="&Unregister ActiveX DLL"<br> [HKEY_CLASSES_ROOT\dllfile\shell\Unregister\command]<br> @="\"REGSVR32.EXE\" \"%1\" \"/U\" "<br> </font></p> </body> </html>
Original Comments (3)
Recovered from Wayback Machine