Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
1 ratings:
 4 out of 5     Rate this Document

Receiving "Error loading type library/DLL" When Using ActiveX Automation with Microsoft Excel and LabWindows/CVI

Primary Software: LabWindows/CVI Development Systems>>Full Development System
Primary Software Version: 8.0
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem:
I created an application in LabWindows/CVI that communicates with Microsoft Excel via ActiveX Automation. However everytime I launch a new Excel application, I receive error -2147312566 with the message "Error loading type library/DLL". The installation of Microsoft Excel was normal and its seems to be working correctly. Why am I getting this error and how can I resolve it?

Solution:
This ActiveX error is typically associated with registration of the software (i.e. Windows registry). Unregister and then register excel.exe located at

C:\Program Files\Microsoft Office\OfficeXX

Refer to the links section below for how to register ActiveX components.

Related Links:
KnowledgeBase 1HBAMMSR: How Do I Manually Register Type Libraries, ActiveX Controls, and ActiveX Servers?

Attachments:





Report Date: 06/22/2006
Last Updated: 06/23/2006
Document ID: 3YLEIL45

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit