LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

what is Difference between excel200.fp & excelreport.fp?

what is Difference between excel200.fp & excelreport.fp, for example in excel200.fp  Excel_NewApp is used for new excel application and in excelreport.fp ExcelRpt_ApplicationNew is used? Whether I can directly use Excel_NewApp if so then where I can get description or help for these functions because in NI help is available for excelreport.fp functions

0 Kudos
Message 1 of 2
(3,296 Views)

excel2000.fp gives you direct access to the Microsoft Excel ActiveX (COM) interface. excelreport.fp is a layer on top of excel2000.fp that provides 'higher level' functionality for performing common tasks.

 

If you are going to use excelreport.fp, then you should call ExcelRpt_ApplicationNew() rather than Excel_NewApp() . After that, you can call ExcelRpt_*() and Excel_*() functions using the same Excel object handles.

 

excel2000.fp is documented to an extent within the fp, but for definitive information you should consult the Excel ActiveX object model that is documented on msdn.microsoft.com.

 

excelreport.fp is documented by NI, but in case of query you can always consult the source code for it (excelreport.c in the same folder as excelreport.fp).

 

--
Martin
Certified CVI Developer
0 Kudos
Message 2 of 2
(3,284 Views)