10-02-2009 09:25 AM
Trying to create a distribution file that will work on another test station. Using Labwindows CVI version 8.0.1 microsoftwindows 2000/XP.
The program uses the (Microsoft Excel 9.0 Object Library) and (Internet Library). I get the following errors when it trys to run the Excel functions:
First error:Dialog box shows "Error: Microsoft Excel Automation" and message " Exception occured" hit enter key the second error
-->second error:Dialog box shows "Error: Microsoft Excel Automation" and message "The handle is invalid"
Do I need to edit the Installer files, is there something missing?
thanks
Chinook1
10-02-2009 09:30 AM
Other users seem to have had similar difficulties, when code is run on a new PC does which not have the same version of Microsoft Office components installed as on the PC used for development. Is the Excel installation on your new target machine the same as on the development one?
JR
10-02-2009 09:58 AM
Both computers use Excel2003.
10-05-2009 10:47 AM
chinook1,
What are you doing with your Excel Automation? Are you opening an existing workbook or creating one? If you are opening a workbook, have you made sure the path to that workbook is correct in your code?
Also, what happens if you install the CVI Run-time engine manually on a computer with Excel 2003 installed and then move over your executable manually as well?