LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

MS office report function does not work after building the appication

I use the MS office report function  with a custom excel template my application.
It works properly in de developstate, but after building the application it does not work .
 
I use office 2000  and Windows XP
0 Kudos
Message 1 of 4
(2,983 Views)

When you build your exe, in the "Source Files" tab, click "Add Dynamic Vi..." and add the "_Word Dynamic.VIs. from the "vi.lib/addons/_office/_wordsub.llb"

Good Luck,

Mike

 

 

 

0 Kudos
Message 2 of 4
(2,965 Views)

 


@jmq wrote:
I use the MS office report function  with a custom excel template my application.
It works properly in de developstate, but after building the application it does not work .

What error message if any did you get? It could be a couple things:

1. Did you include the Report Toolkit's dynamic vis in the app's build process?
Ref: Error 7 when Running an .EXE Using VIs from Report Generation Toolkit for MS Office

2. How are you giving the path to you custom template, as a relative or an absolute path? The path will be different for the .exe. You have to strip twice.
Ref: Why Can't My Executable Load My Included File When I Use Relative Path Encoding?

=====================================================
Fading out. " ... J. Arthur Rank on gong."
0 Kudos
Message 3 of 4
(2,962 Views)
Thank you Mike and Donald. The problem has been  solved with your help
0 Kudos
Message 4 of 4
(2,950 Views)