I am creating an output window for a C++ editor. how will i create the console in vb.net as an output window and transfer it to richtextbox?
Printable View
I am creating an output window for a C++ editor. how will i create the console in vb.net as an output window and transfer it to richtextbox?
Go to the VB.NET CodeBank forum and you'll find a thread on redirecting Console streams. I believe it's by gigemboy.
i couldn't find it.. :bigyello: what i've found is an automated Command prompt but it fails
http://www.vbforums.com/showthread.php?t=381405
I found it here. I've used the 2005 example.. my problem is when i run a C++ exe which needs to display and input.. it cannot return the display except if I will type another command.
That is the very thread I was talking about and I'm afraid your description of the problem is still far too vague. When I said "exactly" in my last post I meant "exactly". We can't see what you see or what you think. All we know is what you tell us so you have to provide a FULL and CLEAR description of EXACTLY what you did and EXACTLY what happened when you did it.
1. I run the 2005CMDExample then, i change directory and it worked. I want to run a C++ program, inside that program is 2 lines, one line to display "Who are you?" and one line to input my answer. After I entered the name of the exe file, the exe file is supposed to show
Who are you? first then I will be able to input my answer. what happened was it will return the "Who are you?" after i will send another command, supposed to be it will immediately return the "Who are you?" followed by the input..