How to Enable ActiveX in the Registry

How to Enable ActiveX in the Registry thumbnail
Manually enable your ActiveX control in the registry.

Before you can use an ActiveX control, it must have an entry enabled in the registry. Microsoft Windows provides you with a manual utility to enable ActiveX controls in your registry. This utility is executed in the command line. For most applications, the installation wizard registers the ActiveX component without any kind of manual intervention. However, some ActiveX controls only have the OCX file included, which means you must enable it manually in the registry.

Instructions

    • 1

      Click the Windows "Start" button and enter "cmd" into the search text box. Press "Enter" to open the command line utility in Windows.

    • 2

      Type "Regsvr32 /?" to view a list of ActiveX registration options. The utility serves only to register and unregister an ActiveX component in the registry, so only a few options are shown.

    • 3

      Type the following text to register your control:

      Regsvr32 /s your_control.OCX

      Replace "your_control" with the name of your ActiveX component. This command enables it in the registry and allows you to use it in your software development.

Related Searches:

References

  • Photo Credit computer image by blaine stiger from Fotolia.com

Comments

You May Also Like

Related Ads

Featured