Griaule Biometrics

Home » "Failed to import the ActiveX control. Please ensure it is properly registered."

Knowledge Base

Add to Delicious  Add to browser favorites Positive Negative

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

  1. Download GrFinger ActiveX 1.0.2 http://www.griaule.com/public_download/GrFingerX_1_0_2.zip
  2. If Visual Studio is opened, close it;
  3. Replace GrFingerX.dll for the version 1.0.2 downloaded;
  4. Check if the ActiveX GrFinger is registered correctly (regsvr32 GrFingerX.dll);
  5. Open the project in the Visual Studio again;
  6. Check if the component is imported and active on the "Toolbox";
  7. 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

    • Fingerprint SDK 2007