LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I received ERROR when created EXE with EXCEL

Hi all
I created a project using lib EXCEL
It works under LV 2017
When I wanted to create EXE I got errors:
How do I fix them?

Best regards

Iskander🤔

0 Kudos
Message 1 of 3
(821 Views)

If the program works, I guess it doesn't use those functions. Are the build settings excluding unused project libraries members?

 

pincpanter_0-1610701474291.png

 

Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021
0 Kudos
Message 2 of 3
(807 Views)

IIRC, the class responsible for Excel is loaded dynamically (internally), and it is not included automatically.

 

I think this covers it https://forums.ni.com/t5/LabVIEW/EXE-with-Report-Generation-Toolkit/m-p/3844024#M1087958

 

Another option is to simply find the Excel RGT class and use that instead of the open report VI that uses the report type enum. The enum will dynamically select the report type, and this means the compiler for executables won't include the child classes, as it has no idea that it should. 

0 Kudos
Message 3 of 3
(784 Views)