The Excel_WorkbooksOpen() method is a method on the Workbooks object NOT the application object. You have to get the Workbooks collection property from the application object first, then call the function with that handle. I.E.
Excel_NewApp (NULL, 1, LOCALE_NEUTRAL, 0, &CAOApp);
Excel_GetProperty (CAOApp, NULL, Excel_AppWorkbooks,
CAVT_OBJHANDLE, &hWorbooks);
Excel_WorkbooksOpen (hWorkbooks, NULL,
"c:\\\\/.xls",
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,
&hWorkbook);
By the way, you are most likely going to have a constant stream of questions like this in programming Excel. I would recommend you upgrade to CVI 6.0. We have a new tool call the Excel Report instrument driver that allows you to easily do most common functions in Excel without knowing the low-level ActiveX API programming.
Best Regards,
Chris Matthews
National Instruments