Send Keys??

  • Thread starter Thread starter Guest
  • Start date Start date
As Rick implies, it all depends on what you're trying to do.

I don't believe I've ever had a situation where I was tempted to use
SendKeys, much less one where I had to.

--
Doug Steele, Microsoft Access MVP

(no e-mails, please!)


Chris said:
When should you send keys? Is there a better way; rather than using send
keys?
 
I have aquired a database and the author of it apparently loved send keys.
I'm trying to shrink the size of the database and make it a little more
efficient
 
Please give us some specific items that the sendkeys accomplishes and we can
tell you how to do that in code instead.

The short answer to your question is that you should rarely (if ever) need
to use sendkeys. There are other ways to do most things.

I have used it before when I was hijacking another application, but that is
the only time I've used it.
 
Douglas J Steele said:
As Rick implies, it all depends on what you're trying to do.

I don't believe I've ever had a situation where I was tempted to use
SendKeys, much less one where I had to.

One reason being that the keystroke is processed by the application with the
focus, not necessarily Access.

Keith.
www.keithwilby.com
 
Keith Wilby said:
One reason being that the keystroke is processed by the application with
the focus, not necessarily Access.

True, but I'd never try to do that, since it's so unreliable. (It's too easy
for focus to change, so that Access isn't sending the key strokes to the
correct application)
 
Douglas J. Steele said:
True, but I'd never try to do that, since it's so unreliable. (It's too
easy for focus to change, so that Access isn't sending the key strokes to
the correct application)

Sorry Doug, that was the point I was trying to make, I wasn't encouraging
its use.

Regards,
Keith.
 
Back
Top