|
-
Dec 14th, 2009, 11:40 PM
#1
Thread Starter
Lively Member
Console to RichtextBox
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?
-
Dec 15th, 2009, 12:01 AM
#2
Re: Console 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.
-
Dec 16th, 2009, 10:22 AM
#3
Thread Starter
Lively Member
Re: Console to RichtextBox
i couldn't find it.. what i've found is an automated Command prompt but it fails
-
Dec 16th, 2009, 07:10 PM
#4
Re: Console to RichtextBox
 Originally Posted by xpinvader
i couldn't find it..  what i've found is an automated Command prompt but it fails
If that's all you can tell us then we can't help. If you can tell us exactly which thread you found (I'm guessing that it's the same one), exactly what you did and exactly what happened then we might be able to do something.
-
Dec 16th, 2009, 09:45 PM
#5
Thread Starter
Lively Member
Re: Console to RichtextBox
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.
-
Dec 16th, 2009, 09:55 PM
#6
Re: Console to RichtextBox
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.
-
Dec 16th, 2009, 10:13 PM
#7
Thread Starter
Lively Member
Re: Console to RichtextBox
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..
Last edited by xpinvader; Dec 16th, 2009 at 10:19 PM.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|