LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Send a file to an external app?

Here's another one for you....
 
I've used LaunchExecutable() and LaunchExecutableEx() to launch a .exe file.  But how do you send a file to an external executable?  Suppose I want to open a specific file in Excel or Word, etc, from within a CVI app.
 
Is there a way to do that?
0 Kudos
Message 1 of 4
(3,372 Views)

Have you tried: LaunchExecutable ("word.exe myfile.doc"); or similar?

JR

0 Kudos
Message 2 of 4
(3,361 Views)
LaunchExecutable ("winword.exe myfile.doc"); or similar?
Thanks.
CVI 2010
LabVIEW 2011 SP1
Vision Builder AI 2011 SP1
0 Kudos
Message 3 of 4
(3,355 Views)
Yes, that works. 
 
Adding a filename, in addition to the *.exe, to the character string passed to the function, is not documented anywhere that I cain find.
 
Thanks very much...
0 Kudos
Message 4 of 4
(3,352 Views)