LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I hide the dos prompt window when running a command line via cvi?

Thank You
Arik Lewin
0 Kudos
Message 1 of 6
(4,048 Views)
Try using the 'Launch Executable Extended' function in the utility library. This gives you the option of running exe's in different modes, including hidden
Message 2 of 6
(4,048 Views)
I used this function in windows 2000 an it works. It does not work with windows 98. Any Ideas how I can get it to work on windows 98 OS?
Thank You
Arik
0 Kudos
Message 3 of 6
(4,048 Views)
What exactly is the problem you are having? I use NT myself, but I had a quick play on a 98 machine, and it appeared to work the same
0 Kudos
Message 4 of 6
(4,048 Views)
Hi. Sorry for not being clearer in the previous question. the problem I am having with this function (LaunchExecutableEx)is that on win98 the "LE_HIDE" property does not work. Some of the other properties however do work eg "LE_SHOWMINNOACTIVE". I can minimize the dos prompt window but not hide it on the win98 OS. Thanks for the help thus far.
0 Kudos
Message 5 of 6
(4,048 Views)
Hi Arik,
Sorry, but I still can't duplicate your problem... I tried running an exe on a 98 machine using the hidden attribute, and it appeared to work fine (valid handle, no error) Obviously I couldn't see it, and as there is no useful task manager in 98, it's difficult to prove that it's working.
I did, however run a batch file in hidden mode, and that did appear to operate correctly...

You can send me your code if you like to see if I can duplicate your problem
Regards
JB
0 Kudos
Message 6 of 6
(4,048 Views)