annuler
Affichage des résultats de 
Rechercher plutôt 
Vouliez-vous dire : 

word document

Hi,
I created the word document and saved it on the specific folder using the "new report.vi" and "save report to file.vi".
On the "new report.vi" I've selected the "word" to the "report tipe". For the path I've used the "string to path conversion.vi" because I want to save that file by  the date. It works fine on the running mode. But when I tried to build application and run it as a stay alone program - the word document is not created and saved. And I have not get any errors.
How can I solve this problem?
Thanks a lot,
Boris
0 Compliments
Message 1 sur 20
5 089 Visites

Hello Boris

I have a feeling that it has something to do with not having your supporting vi attached to the main vi when you are building your stand alone try to go to the "Source File" tap and add them in.

hope this helps,

Jimmy

0 Compliments
Message 2 sur 20
5 070 Visites

 I had the same issue but with excel.  Try adding "_Word Dynamic VIs.vi" to your source file under Dynamic VIs and Support Files tab..  The file is in my vi.lib/addons/_office/wordsub.llb.  I use excel a lot and I have to add" _Excel Dynamic VIs" to my dynamic and support files.

 

Brian
Message 3 sur 20
5 066 Visites

Can you give me more details how did you do that.

Thanks,

Boris

 

0 Compliments
Message 4 sur 20
5 047 Visites
In the application builder, there's an option called "Source Files", second from the top in the list on the left in LV8.  Not sure exactly where it is in 7, but I think it's still called source files.

In 7 you just add it as a source file, and in 8 you add it in the "Dynamic VIs ...".

The Word Dynamic VI you're looking for can be found in (if you installed as in the default location) C:\Program Files\National Instruments\LabVIEW 8.0\vi.lib\addons\_office\_wordsub.llb.

Otherwise, it's in the _wordsub.llb, wherever you may have installed it.
Message 5 sur 20
5 037 Visites
Boris 
  I am using LabVIEW 8.
 In Project Explorer
1.  right click on My Computer and slect Add File and add the file _Word Dynamic VIs
2.  right click on your exe file this should be under Build Specifications.  Select Properties the properties window should pop up.
3.  On your properties page select Source Files.  You should see the file _Word Dynamic VI's.  Add this file to the Dynamic and Support Files window.
 
For LabVIEW 7.1
When you select Tools>Build Application or Shared Library, a window will pop up with tabs, now select the Source Files tab.  Select Add Dynamic VI button to add the file you need.
 
Brian
 
Brian
Message 6 sur 20
5 034 Visites
Thanks a lot guys.
It was very helpful.
It works now.
 
Boris
0 Compliments
Message 7 sur 20
5 029 Visites

Hey guys,

Ineed help again,

It works only on my mashine. When I installed the application on the different computer - it stopped save the file.

Why it's doing that?

I'm using LabView 8.0

Boris

0 Compliments
Message 8 sur 20
5 020 Visites
Have you tried running the exe on your machine?  And does that produce the same results?

Reason I ask is (unless this was changed in 😎 that paths change once you've built something into an executable.

See this thread for more info on that.

I'm not sure if that will solve your problem though
0 Compliments
Message 9 sur 20
5 017 Visites

I run exe on my mashine. It works. It did not works when i copy to another machine.

Thanks,

Boris

 

0 Compliments
Message 10 sur 20
5 012 Visites