Thread
:
Clearing the keyboard buffer after sendkeys
View Single Post
#
2
Posted to microsoft.public.excel.programming
Dave Peterson
external usenet poster
Posts: 35,218
Clearing the keyboard buffer after sendkeys
Randy Birch has a site dedicated to
VB
.
http://vbnet.mvps.org/
You may want to search there.
Or search the
VB
newsgroups for keyboard buffer--or even post directly in the
VB
newsgroups.
(Or you can wait for someone to post a better reply here.)
wrote:
(Sorry for double post. I realised only later that this group existed)
I'm using sendkeys in excel to send keystrokes to an application. I
don't send them with the WAIT as yes so control returns immediately
to
excel even though the other application is still processing the sent
keys.
Sometimes the other application goes haywire and I would like to
clear
the keyboard buffer of it before it handles all the remaining keys
incorrectly. Is there any way I cando they through excel?
E.g. press a butten and it flushes the keystrokes buffer of the last
application that you sent the keys to?
I presume there must be an API somewhere for it.
Regards
CE Auke
--
Dave Peterson
Reply With Quote
Dave Peterson
View Public Profile
Find all posts by Dave Peterson