|
-
Feb 10th, 2014, 05:18 PM
#1
Thread Starter
New Member
Visual Basic - Integrating a command prompt help
Hey everyone!
Here's what I have.
- A panel with cmd.exe embedded in it.
- A textbox and a button below that.
- When I enter text into the textbox and press the button, I want the text that was entered in the textbox to be sent to the command prompt, and entered as a command.
- I need to be able to have more than any number of these windows open at a time, so I'm not sure if SendKeys is the best for this.
Any help/advice is appreciated!
-
Feb 10th, 2014, 05:29 PM
#2
Re: Visual Basic - Integrating a command prompt help
I'm assuming that the way you are embedding the cmd.exe is by calling Process.Start and then setting the handle to the panel's handle. If that's the case then you need to pass the appropriate arguments. Now I know you're able to do this when calling Start, but I don't know if you're able to do this once the process has started. But it's something to look into.
-
Feb 10th, 2014, 05:35 PM
#3
Thread Starter
New Member
Re: Visual Basic - Integrating a command prompt help
Hey,
Thanks for your reply. Yes, you have it exactly right, thats exactly whats going on. Ive been researching it for quite a while now, but to no avail. Any help is appreciated, thanks!
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
|