Getting input from command window?
-
Hi I don't knot know if it is possible . I want to get the output of a program from a command window into a textbox\Rich textbox. For example: When compiling in Visual Studio 6 using a command line option (no GUI) i get redirect the output into a text file . 1) Is it possible to get that input into a textbox? 2) If not how to display the ongoing progresses from the file? Thanks
Have a nice Day
-
Hi I don't knot know if it is possible . I want to get the output of a program from a command window into a textbox\Rich textbox. For example: When compiling in Visual Studio 6 using a command line option (no GUI) i get redirect the output into a text file . 1) Is it possible to get that input into a textbox? 2) If not how to display the ongoing progresses from the file? Thanks
Have a nice Day
-
I am missing something here... I red the page but couldn't get an answer... please explain:^)
Have a nice Day
liqnit wrote:
am missing something here...
yes :P
liqnit wrote:
I red the page but couldn't get an answer...
Seriously? Did you check out the members on the class? That link was to the main page for the class, the links at the bottom provide more information such as details on the Members of the class. If you had "StandardOutput", "Start" and "GetProcesses" are pretty obvious. GetProcesses will retrieve a list of all running processes from which you can get the one you want. Or you can use Start to run it if it's not already running. Then StandardOutput gives you access to the output stream.
-
liqnit wrote:
am missing something here...
yes :P
liqnit wrote:
I red the page but couldn't get an answer...
Seriously? Did you check out the members on the class? That link was to the main page for the class, the links at the bottom provide more information such as details on the Members of the class. If you had "StandardOutput", "Start" and "GetProcesses" are pretty obvious. GetProcesses will retrieve a list of all running processes from which you can get the one you want. Or you can use Start to run it if it's not already running. Then StandardOutput gives you access to the output stream.
-
Thanks a lot i guess i am not as good as i thought... will definitely try this thank you very much
Have a nice Day