Troubleshooting the ActiveX Component to Address Capture APIs
Associated product(s): Product name: Pro
Views: 119 | Created: 2 years ago | Last updated: 2 years ago
This document concerns the User Interface API ActiveX control component that can be used as an add-on to our standard UK APIs.
This does not include any of our web-specific capture products.
Manually Registering the Component
If the component registration fails, it can be manually registered. Errors you will obtain may be along the following lines. These are examples using the QAS Pro component.
When opening the VB project:
PRO.OCX Could not be loaded.
In the VB Form log:
Line 28: Class PROLib.Pro of control Pro1 was not a loaded control class.
When trying to run the Active-X component:
Component PRO.OCX not correctly Registered, File Missing or invalid.
These errors all relate to an inability to load the OCX file which is usually caused by it not being registered correctly. To re-register it, go to the Start menu, select Run, and enter the following command:
regsvr32 C:\qaddress\proapi32.311\PRO.OCX
You may need to make sure that the path given to the component is correct. The path above is the default for the QAS Pro component. If this runs correctly, you should receive a confirmation message from DllRegisterServer.
Alternative Solution
Alternatively, the problem could be in finding the relevant product DLL, such as the QAS Pro DLL qapuieb.dll. The simplest solution to this problem is simply to copy the DLL file and the INI file for the relevant product to the C:\WINNT\System 32 directory.
Send to friend