Get console app output into a VB app.

  • Thread starter Ray Cassick \(Home\)
  • Start date
R

Ray Cassick \(Home\)

I am planning to run a console based C++ application (I do not have the
source for) as a hidden process form my VB.NET application and was wondering
if there is a simpler way to get the output of the console application into
a text box on by VB.NET form other than just having the consoles output sent
to a file and then open and read in the file.

--
 
H

Herfried K. Wagner [MVP]

Ray Cassick (Home) said:
I am planning to run a console based C++ application (I do not have the
source for) as a hidden process form my VB.NET application and was
wondering if there is a simpler way to get the output of the console
application into a text box on by VB.NET form other than just having the
consoles output sent to a file and then open and read in the file.

<URL:http://dotnet.mvps.org/dotnet/samples/misc/#RedirectConsole>
-> "RedirectConsole.zip"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top