LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Custom excel template path in Stanalone application

Solved!
Go to solution

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

0 Kudos
Message 1 of 16
(3,584 Views)

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)

 

 

 


Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
If you don't hate time zones, you're not a real programmer.

"You are what you don't automate"
Inplaceness is synonymous with insidiousness

0 Kudos
Message 2 of 16
(3,580 Views)

Hi PhillipBrooks,

Yes, I did ! does it have anything to do with relative path/absolute path ?

I'm sorry...really new in LabVIEW 🙂

 

 

0 Kudos
Message 3 of 16
(3,575 Views)

I believe the toolkit uses ActiveX to open and manipulate the template. 

 

Does your target PC have MS Office installed?


Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
If you don't hate time zones, you're not a real programmer.

"You are what you don't automate"
Inplaceness is synonymous with insidiousness

0 Kudos
Message 4 of 16
(3,568 Views)

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

source files.JPG

 

 

And this is how the excel template file accessed in MS Office Report Express.VI

template source.JPG

0 Kudos
Message 5 of 16
(3,561 Views)

The application builder should put your template that you noted as "Always Included" in the "\data" sub-folder. Is it there?

0 Kudos
Message 6 of 16
(3,557 Views)