LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can a word document be open programmatically?

I am not an experiensed user with Labview, so I apologize if this is a stupid question.
Is it possible to open a word document using a button in Labview?

Thanks to those that take the time to help me out!
Best regards
Ingvald Bardsen
0 Kudos
Message 1 of 2
(2,808 Views)
Yes this can be done a number of different ways, you can do this via Active X, or you can use the the system exec vi. If you want to open the document inside labview then you have to use active X. If you just want to open the word document and view it in word then use the system exec VI. I am attaching a VI that I wrote called runapp.vi that uses the System Exec.VI I use this VI all of the time. It works exactly the same way as if you were using the start menu run method. You can do a search for Active X and word on this site and get a bunch of examples for the other.You will also find in the zip file more examples then you should need. If you need anything else just let me know


Hope this helps you out



Joe.
"NOTHING IS EVER EASY"
Message 2 of 2
(2,797 Views)