Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / New Users / June 2006

Tip: Looking for answers? Try searching our database.

Send Keys??

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Chris - 27 Jun 2006 17:00 GMT
When should you send keys?  Is there a better way; rather than using send keys?
Rick B - 27 Jun 2006 17:11 GMT
What are you trying to accomplish?

Signature

Rick B

> When should you send keys?  Is there a better way; rather than using send
> keys?
Chris - 27 Jun 2006 17:32 GMT
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

> What are you trying to accomplish?
>
> > When should you send keys?  Is there a better way; rather than using send
> > keys?
Rick B - 27 Jun 2006 18:33 GMT
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.

Signature

Rick B

>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
[quoted text clipped - 5 lines]
>> > send
>> > keys?
Douglas J Steele - 27 Jun 2006 17:29 GMT
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.

Signature

Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)

> When should you send keys?  Is there a better way; rather than using send keys?
Keith Wilby - 28 Jun 2006 09:27 GMT
> 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
Douglas J. Steele - 28 Jun 2006 22:56 GMT
>> As Rick implies, it all depends on what you're trying to do.
>>
[quoted text clipped - 3 lines]
> 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)

Signature

Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no private e-mails, please)

Keith Wilby - 29 Jun 2006 08:17 GMT
>>> As Rick implies, it all depends on what you're trying to do.
>>>
[quoted text clipped - 7 lines]
> 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.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.