Board index » Visual Studio » Capturing Command Line Utility Output in VB 6
|
AndrzejJakubowski
|
Capturing Command Line Utility Output in VB 6
Visual Studio290
Hi there Got a need to run a command line utility and capture the output in my VB6 program. I know I could used the WScript object and get the STDOUT data via a textstream (all nice and neat)...HOWEVER.... Using the .exec method causes a DOS window to flick on/off. Does anyone know a way that I could use WScript to run a command line utility (so I can get the output in an ordered fashion) but NO window showing. The .run method (like shell) allows for a hidden window...but not easy to get the output (or is it? Anyone know a good way...please let me know). Any help much appreciated Many thanks Mike Finister - |
