04-27-2007 04:50 AM
04-27-2007 10:14 AM
05-21-2007 05:10 AM
05-21-2007 10:24 AM
05-22-2007 02:08 AM
05-22-2007 04:40 PM
Hello Huub,
I tried and tried to reproduce this problem, but I could not. I tried VIs and EXEs with both Word XP and Word 2003 and your VI worked fine every time, with no Error 1. I tried appending text to the report, then running your VI with different "number of lines" values, then appending more text to the report, and it worked just fine every time. At this point, my only suggestion is that you use your stated workaround, which was appending a line feed to the report without using the New Report Line.vi. If you want me to troubleshoot further, I will need a VI from you that reliably reproduces the error. If you wish to further troubleshoot the issue yourself, I recommend building your EXE with debugging enabled so you can figure out which node specifically causes the error...the VI that is being called dynamically by New Report Line.vi is vi.lib\addons\_office\_wordsub.llb\Word_Insert_New_Line.vi.
Good luck,
-D