|
-
Jan 12th, 2000, 10:03 PM
#1
Thread Starter
New Member
I need to be able send an emulated keystroke to another windows application, that does not have the focus. My VB program is going to receive commands via the serial port, process the commands, then send an appropriate emulated "keystroke" to another windows application.
How do I create an emulated keystroke and send it to the other windows program?
Thanks,
Eric
-
Jan 13th, 2000, 12:09 PM
#2
Hyperactive Member
Eric,
You can use either sendkeys (though the user may see this) or you can use the sendinput api.
Wade
-
Jan 13th, 2000, 12:19 PM
#3
Thread Starter
New Member
Thanks WadeD. I would rather use the API so the user does not see the focus changing if possible. Could you please help me with the syntax of the sendinput api?
Thanks,
Eric
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
|