10-08-2007 02:19 PM
I've included the sub vi, located in the vi.lib >> addons >> _office >> _wordsub.llb >> _worddynamicvis.vi, as a dynamic vi when building my app.
I've attached my build script, but I have to admit, I have no idea what to do with it.
Any ideas on what I am doing wrong?
Bill
10-08-2007 06:18 PM
10-09-2007 07:08 AM
10-09-2007 07:18 AM - edited 10-09-2007 07:18 AM
are you disposing the report at the end?
If No, plz do that and connect a False value in close report terminal in dispose report.
Message Edited by Ranjeeta on 10-09-2007 07:18 AM
10-09-2007 02:43 PM
10-09-2007 08:59 PM
There was another thread similar to this recently, and the cause of the problem was that the user was building a path to a Word (or Excel) template based on the Current VI's Path. When built into an EXE, that function returns a different path (that includes the .exe), which was screwing up his template path...when an invalid template path is sent into the New Report.vi, it won't open Word/Excel. Could this be the problem?
If that doesn't help, it would be useful for you to post a simple VI that demonstrates the problem (when built into an EXE) so we can help investigate.
Good luck,
-D
10-10-2007 12:33 PM