PC Review


Reply
Thread Tools Rate Thread

Clearing the keyboard buffer after sendkeys

 
 
coetzee.evert@gmail.com
Guest
Posts: n/a
 
      22nd Feb 2007
(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

 
Reply With Quote
 
 
 
 
Dave Peterson
Guest
Posts: n/a
 
      22nd Feb 2007
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.)

(E-Mail Removed) 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
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Clearing the RAM Buffer GW Windows XP General 5 11th Jul 2008 04:50 PM
Clearing Keyboard Buffer vbguy2008@gmail.com Microsoft VB .NET 11 6th Jan 2008 10:08 PM
clearing history buffer =?Utf-8?B?Si1Eb2c=?= Microsoft Word Document Management 5 18th Jun 2007 05:47 PM
Clearing the keyboard buffer coetzee.evert@gmail.com Microsoft Excel Misc 0 22nd Feb 2007 11:18 AM
Clearing buffer with MSCOMM32.ocx? =?Utf-8?B?TXVzTW91?= Microsoft Access VBA Modules 0 14th Mar 2006 07:11 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:07 PM.