Send Keys

S

Steven

I am using SendKeys in my program in certain instances. Then today all of a
sudden the SendKeys did not work. I say all of a sudden but there had to be
some occurance that caused them not to work. I turned off the machine and
restarted it. Then the SendKeys worked again. What might have caused this.

Note: I did download and test some databases from www.lebans.com. Can
there be some code in there that would turn off the SendKeys or ????

Thank you,

Steven
 
S

Stephen Lebans

No, nothing from my site should effect your useage of SendKeys.

SendKeys is recommended to be used only as a last resort. DoCmd
generally can look after most instances where you might be using
SendKeys within your app.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 
D

Dave Patrick

As Stephen mentioned use SendKeys only as a last resort. You're at the mercy
of some other process inadvertently stealing the focus and possibly a
disaster. If you must then take a look at AutoItX
http://www.autoitscript.com/AutoIt/downloads.php

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
|I am using SendKeys in my program in certain instances. Then today all of
a
| sudden the SendKeys did not work. I say all of a sudden but there had to
be
| some occurance that caused them not to work. I turned off the machine and
| restarted it. Then the SendKeys worked again. What might have caused
this.
|
| Note: I did download and test some databases from www.lebans.com. Can
| there be some code in there that would turn off the SendKeys or ????
|
| Thank you,
|
| Steven
 
Top