Guest rowansmith Posted November 27, 2002 Posted November 27, 2002 I have a third party 32-Bit Command Prompt application that I wish to use the output from within VB. How can I call the external application and get the results of the output (multiple lines of text) parsed back into Visual Basic for processing? Thanks. -Rowan Quote
*Gurus* divil Posted November 27, 2002 *Gurus* Posted November 27, 2002 When you start a process using System.Diagnostics.Process.Start, you have the option of redirecting the standard output. Alternatively, there is a method ExecWaitWithCapture of the System.CodeDom.Compiler.Executor class which pretty much wraps this behaviour for you. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.