Get console app output into a VB app.

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ray Cassick \(Home\)

    #1

    Get console app output into a VB app.


    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.

    --


  • Herfried K. Wagner [MVP]

    #2
    Re: Get console app output into a VB app.

    "Ray Cassick (Home)" <rcassickNOSPAM @enterprocity.c omschrieb:
    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/#RedirectConsol e>
    -"RedirectConsol e.zip"

    --
    M S Herfried K. Wagner
    M V P <URL:http://dotnet.mvps.org/>
    V B <URL:http://classicvb.org/petition/>

    Comment

    • Ray Cassick \(Home\)

      #3
      Re: Get console app output into a VB app.

      Thanks. That was exactly what I was looking for.

      "Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.atwrot e in message
      news:eOc0tzX2GH A.1288@TK2MSFTN GP03.phx.gbl...
      "Ray Cassick (Home)" <rcassickNOSPAM @enterprocity.c omschrieb:
      >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/#RedirectConsol e>
      -"RedirectConsol e.zip"
      >
      --
      M S Herfried K. Wagner
      M V P <URL:http://dotnet.mvps.org/>
      V B <URL:http://classicvb.org/petition/>

      Comment

      Working...