re-direct console output to text box in Visual C++


  • I have a console .exe that I want to trigger with a button press in a windows form.   I would like the output of the console window to appear in a text box within my form (similar to the Output window in Visual Studio). Are there code examples of how to a) call the external .exe and b) display its dos output in a text box within my form app? I am relatively new to Visual Studio.

    Friday, May 6, 2016 12:48 PM