1.將需要安裝的目錄,例如 C 盤根目錄下。 2.進入開始菜單,點擊“運行” 3.在出現的框中鍵入regsvr32 C:/xxxx.ocx 。(XXXX 為 控件名,C:/為目錄) 4.點擊確認后等待出現提醒注冊成功即可。
如果是偶爾一個軟件使用,將這個ocx文件復制到軟件目錄即可。
反注冊DLL大法 UnRegister DLLs You can use the Regsvr32 tool (Regsvr32.exe) to register and unregister object linking and embedding (OLE) controls such as dynamic-link library (DLL) or ActiveX Controls (OCX) files that are self-registerable.
RegSvr32.exe has the following command-line options: Regsvr32 [/n] [/i[:cmdline]] dllname /u - Unregister server /i - Call DllInstall passing it an optional [cmdline]; when used with /u calls dll uninstall /n - do not call DllRegisterServer; this option must be used with /i When you use Regsvr32.exe, it attempts to load the component and call its DLLSelfRegister function. If this attempt is successful, Regsvr32.exe displays a dialog indicating success. If the attempt is unsuccessful, Regsvr32.exe returns an error message, which may include a Win32 error code. Example: To unregister Winshow's winshow.dll: Click the Start button, and select Run Enter this command line: regsvr32 /u [systemroot]/winshow.dll For example, in a Windows XP machine in which your systemroot was at c:/winnt, you would enter: regsvr32 /u c:/winnt/winshow.dll 你能構使用Regsvr32工具Regsvr32.exe注冊和反注冊目標鏈接和深層OLE控制器類似于自動注冊的動態鏈接庫(DLL)和ActiveX控件。 (OCX)文件。 Regsvr32命令行參數: 格式:Regsvr32 [/n] [/i[:cmdline命令行]] dllnamedll文件名