01-14-2005 08:51 AM
01-17-2005 07:33 PM
01-18-2005 08:39 AM
01-18-2005 12:00 PM
01-18-2005 12:13 PM
01-18-2005 02:25 PM
01-18-2005 02:29 PM
01-24-2005 12:51 PM
01-25-2005
03:08 PM
- last edited on
07-08-2025
02:37 PM
by
Content Cleaner
Hello,
I just tested the behavior on a comparable machine and setup and was unable to reproduce the behavior.
The only edit I made was to the Open function. My edits are shown below:
/*error = Excel_WorkbooksOpen (ExcelWorkbooksHandle, NULL, fileName, CA_DEFAULT_VAL,
CA_DEFAULT_VAL, CA_DEFAULT_VAL,
CA_DEFAULT_VAL, CA_DEFAULT_VAL,
CA_DEFAULT_VAL, CA_DEFAULT_VAL,
CA_DEFAULT_VAL, CA_DEFAULT_VAL,
CA_DEFAULT_VAL, CA_DEFAULT_VAL,
CA_DEFAULT_VAL, &ExcelWorkbookHandle);
*/
Excel_ActiveWorkbook (NULL, 0, LOCALE_NEUTRAL, 0, &ExcelWorkbookHandle);
I open my Excel workbook and make my worksheet active. After running the CVI application, I select "Connect", "Open" then "Write Data" on the front panel. Another Excel document is not opened on all the test machines I have used.
The only difference software-wise with my setup is that I have the most recent version of the CVI runtime engine. The CVI runtime engine is backwards compatible, so you will be able to use the newest version with CVI 6.0. I would suggest downloading the latest version and trying it out.
Thanks.