General programming

Moderators: None (Apply to moderate this forum)
Number of threads: 1637
Number of posts: 2784

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Re: Sending commands to other programs Posted by Zantos on 10 Jun 2003 at 11:16 AM
SendKeys "abcdefg" will do it.

..:: Zantos ::..

: How could I get VB to type in a string into another program's text box? For instance, how could I get a button, say btnStart, when clicked to type the string "abcdefg" into a textbox in a text box that is selected (blinking cursor is inside it) but in another program that I didn't write, say a computer game?
:

Thread Tree
thegreenstar Sending commands to other programs on 7 Jun 2003 at 6:31 PM
Zantos Re: Sending commands to other programs on 10 Jun 2003 at 11:16 AM



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.