LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

stand alone exe errors using report generation vi's

I have a stand alone application that uses some report generation vi's. I have added the _wordsub.llb as a support file. In the main program I have told the report generations vi's where to find the _wordsub.llb so it can load the dynamic vi's as needed. The problem is when I run the stand-alone executable I get an open refernce error for one of the dynamic vi's that says that vi is not executable. But when I reconfigure the executable and include that vi as a dymaically loaded vi in addition to the _wordsub.llb, the stand alone works error free. Any suggestions?
0 Kudos
Message 1 of 7
(3,155 Views)
You might want to follow the procedure here:

http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/86256a47004e16d186256a84004cb883?OpenDocument

(If the URL doesn't work, you can search for NI document ID: 2B87TVI8)

Dan
0 Kudos
Message 2 of 7
(3,155 Views)
Thanks Dan
0 Kudos
Message 3 of 7
(3,155 Views)
In LabVIEW 7.0, these files do not exist!
In another post i've seen comments about "Save with Options" then "Application Distrobution". But then you cannot "Build" and executable because it saves without block diagrams.

I really feel we are being given the run-around with the problem with the Office Report Toolkit! I really need to know how i can save my Word Report from the Executable.
0 Kudos
Message 4 of 7
(3,155 Views)
It really depends on what version of office you are using. Some methods have different set of parameters or even different names, labview does not adjust them accordingly, even though the code might execute but it will fail during build process. You must reselect the methods manually in order to build the executable. Most time you need to build different executables for each office version.

-Joe
0 Kudos
Message 5 of 7
(3,155 Views)
Its ok now, i FINALLY found the vi.llb directory and added the "addons\_office\" _wordsub.llb and _exclsub.llb as instructed from the readme.rtf file in that directory (Add as Dynamic VI in Build Source Files)

Don't know why it was so complicated to find this though!
0 Kudos
Message 6 of 7
(3,155 Views)
_wordsub.ll and _exclsub.llb contain all the dynamically called VIs for word and excel, so they should be added as dynamic VIs instead of a regular support files.

-Joe
0 Kudos
Message 7 of 7
(3,155 Views)