Error Code 145 - ActiveX Control Not Registered in LabWindows™/CVI™

Updated May 14, 2018

Reported In

Software

  • LabWindows/CVI

Other

Microsoft Office
Microsoft Form

Issue Details

Why do I get error code -145 in LabWindows™/CVI?

Error -145: ActiveX controller not registered in this computer

Solution

You get this error code when a DLL is not found for a Microsoft Form control used in a LabWindows/CVI panel. Any one of the following solutions can be used. In the first solution you should manually register the DLL, and in the second solution the DLL will be registered when you download the ActiveX Control Pad from Microsoft's website.

Solution 1:
  1. You must make sure the client computers have the same operating system as the server
  2. While creating the distribution kit, make sure you check both the Install Active X Container Support and Register files as ActiveX servers
  3. Make sure the client computer has the necessary DLL file. i.e. the DLL file for the specific ActiveX control. For example, if you use Microsoft Forms 2.0 scroll bars then make sure the FM20.DLL is present on the client computer. If not, the specific DLL file must be copied to the client computer.
  4. After copying the file to the client computer, you must manually register the DLL file as described in How Do I Register ActiveX Controls, ActiveX Servers, and Type Libraries?
Solution 2:

FM20.DLL is a Microsoft Form ActiveX component that is registered only when Microsoft Office is installed. If a Microsoft Forms control is used in a CVI panel, then registration of this DLL is needed. This is further explained on the Microsoft Support webpage.

The DLL can be registered by downloading Microsoft's ActiveX Control Pad and installing this application on the target computer. This registers the FM20.DLL component without the need to install Microsoft Office.

You can download the Microsoft ActiveX Control Pad from Microsoft's support website.

WAS THIS ARTICLE HELPFUL?

Not Helpful