11-21-2012 03:30 AM
Hi All,
I have a problem in building application that includes Report Generation Toolkit.
So, I use Ms Office report express.VI which has custom excel template path is defined in this VI
The problem is when I build the application, The VI can't seem to connect to path of the template in the target PC.
Note : I have added the template, NI_Excel.lvclass, _Excel Dynamic VIs.vi, NI_Report Generation Toolkit.lvlib to the project file and set as always included.
The application runs without any error. but the Excel report is not generated.
Any help is highly appreciated 😄
It's really driving me nuts now
Solved! Go to Solution.
11-21-2012 05:36 AM
Did you add the Report Generation VIs to your project and include them in your application?
Including Report Generation VIs in Stand-Alone Applications (Report Generation Toolkit)
11-21-2012 05:44 AM
Hi PhillipBrooks,
Yes, I did ! does it have anything to do with relative path/absolute path ?
I'm sorry...really new in LabVIEW 🙂
11-21-2012 10:35 AM
I believe the toolkit uses ActiveX to open and manipulate the template.
Does your target PC have MS Office installed?
11-21-2012 07:17 PM
Yup, the target PC has MS office and activeX installed 😄
Perhaps to give you clearer view of the problem, here i attach my configuration for the build
And this is how the excel template file accessed in MS Office Report Express.VI
11-21-2012 07:36 PM
The application builder should put your template that you noted as "Always Included" in the "\data" sub-folder. Is it there?