Home » "Failed to import the ActiveX control. Please ensure it is properly registered."
Knowledge Base
Title: "Failed to import the ActiveX control. Please ensure it is properly registered."
SYMPTOMS
- Error message when you drag and drop the ActiveX component to a form in Visual Studio 2005 shows up: "Failed to import the activex control. Please ensure it is properly registered."
SOLUTION
- Download GrFinger ActiveX 1.0.2 http://www.griaule.com/public_download/GrFingerX_1_0_2.zip
- If Visual Studio is opened, close it;
- Replace GrFingerX.dll for the version 1.0.2 downloaded;
- Check if the ActiveX GrFinger is registered correctly (regsvr32 GrFingerX.dll);
- Open the project in the Visual Studio again;
- Check if the component is imported and active on the "Toolbox";
- If you are using VS 2005, before drag and drop the component "GrFingerXCtrl Class" to the form, add a reference to the OLE Automation in your project:
( This step is necessary, because VS2005 does not know how to resolve the dependences about the COM stdole. And it does not know to compile the assembly wrapper AxGrFingerXLib.dll.
- In "Solution Explorer", click with the right button on your project;
- Click "Add Reference";
- Select the option "COM";
- Select the component "OLE Automation";
- Click "OK";
Drag and drop the component "GrFingerXCtrl Class" to the Form.
APPLIES TO