register an ActiveX control (.ocx) manually

IntelliSoft

IntelliSoft Group Inc.

How to register an ActiveX control (.ocx) manually

In realistic runtime environment, there are some unknown factors that would cause ActiveX controls (OCX) to fail to register, hence, cause the Intelli system to malfunction. To enable Intelli system to run correctly, we will have to manually register ActiveX controls (OCX). Below is the detailed description for how to manually register them.

More Information

We can use Microsoft Register Server (Regsvr32.exe) to manually register a 32-bit .ocx file under the 32-bit OS. The syntax of Regsvr32.exe is as below:
Regsvr32 <OCX File Name>
The following example registers the EaseMail ActiveX Control with displaying any messages:
regsvr32 "D:\local workspace\8.5\Scanner.ocx"
Note:
If an error occurs when registering a control, do the following:

1.

Verify that the directory and the file name are correct and complete.

2.

Verify that the following files are in the Windows\System directory:
MFC42.DLL
MSVCRT.DLL
If one of these files is missing, you may receive the following error message:
Error: OLE Error Code 0x80040112: Appropriate license for this class not found.