LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

excel invalid path in exe file

Hi,
 I have an issue with my application I'm using the report file generation tool to read data from an excel file and I receive an error

"Possible reason(s):

LabVIEW:  File not found. The file might have been moved or deleted, or the file path might be incorrectly formatted for the operating system. For example, use \ as path separators on Windows, : on Mac OS, and / on UNIX."
when I open my xls file I was told that it is because the path in the exe file doesn't match the path during devellopement, in the exe file it seems to point to a dll file.
Does anybody have a solution?
Thank you
Olivier

0 Kudos
Message 1 of 5
(3,468 Views)

Take a look at this thread http://forums.ni.com/ni/board/message?board.id=170&message.id=93322 I think it is the same problem

0 Kudos
Message 2 of 5
(3,454 Views)

Hi,

Thoose solutions did'nt work for my application, because I am using the report generation add-on to write in the excel file and this the path inside both VI  New report and Dispose report wich wause an error and is not the same for run time application and for executable file.

May I have to modify thooses VI's.

Thanks

Olivier

0 Kudos
Message 3 of 5
(3,427 Views)
Hi,
 
Does your program work fine in the development system, and the problem occures after building an exe-file ?
If that.s the case, I have had a similar problem. I solved it by adding some of the VIs in the _excelsub.llb located in "C:\Program Files\National Instruments\LabVIEW 8.2\vi.lib\addons\_office" to my project and then to "dynamic VIs and support files" in the build specification. I could not add the complete llb because some of the VIs where broken (maybe some issue with my installation.. ). If you look trough the code in the report VIs you use you find the VIs that are dynamicly linked and therefore have to be added to the build.
 
Good Luck !
/Sture
0 Kudos
Message 4 of 5
(3,412 Views)
Perfect thank you
0 Kudos
Message 5 of 5
(3,332 Views)