How to register an ActiveX control manually (.ocx)
This article describes how to register an .ocx file manually.
You can use the Microsoft Register Server (Regsvr32.exe) to register an .ocx file manually. The syntax for using Regsvr32.exe is as follows:
Regsvr32 /u /s
Note /u means Unregister the .ocx file.
/s means Silent Mode (display no messages).
The following example registers the Microsoft MSCOMCTL ActiveX Control without displaying any messages:
Regsvr32 /s c:windowssystem32mscomctl.ocx
Note: This needs to be run with administrator permissions
1. Click Start, type cmd.
2. Right-click the cmd icon, and then click Run as Administrator.
3. At the command prompt, type the following command, and then press ENTER:
Regsvr32 /s c:windowssystem32mscomctl.ocx
Note This is a “FAST PUBLISH” article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use
(http://go.microsoft.com/fwlink/?LinkId=151500)
for other considerations.
Article ID: 2746232 – Last Review: August 16, 2012 – Revision: 1.0
Recent Comments