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 / Security / March 2006

Tip: Looking for answers? Try searching our database.

logon dialog not caching keystrokes

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Randy Starkey - 17 Mar 2006 00:05 GMT
Hi,

In an access app, there is a logon screen with user names and password
fields that pops up as the app opens. Often if I type fast, the password
doesn't record the first several characters. If I wait a few seconds before
starting to type the password, then all keystrokes are recorded. The
programmer says he does not know of anything in access that would affect the
caching of keystrokes.

Anyone have any thoughts on this?

Thanks,

Randy Starkey
TC - 19 Mar 2006 10:31 GMT
That can happen with any application.

Try starting a program from the Start menu. As soon as you've clicked
it (to start it), bang some random characters on the keyboard. If the
program starts quickly, eg. Notepad, you'll lose few if any characters.
But if it starts slowly, eg. Word, you might loose /all/ those
characters!

So, AFAIK, you'll just have to wait for a moment, until the screen is
up & running.

Signature

HTH,
TC (MVP MSAccess)
[back from the dead!]
http://tc2.atspace.com

Randy Starkey - 20 Mar 2006 00:44 GMT
TC,

OK. This app must just be a slow enough loader for me to really notice it. I
wonder if there is any way to cache keystrokes that would dump them in
there? Seems to me I've seen that happen before, but I can't remember what
scenarios.

Thanks,

--Randy Starkey

> That can happen with any application.
>
[quoted text clipped - 6 lines]
> So, AFAIK, you'll just have to wait for a moment, until the screen is
> up & running.
TC - 20 Mar 2006 03:34 GMT
Hi Randy

When you press a key on a Windows PC, Windows checks to see which
window is "active". It then sends the keystroke to the "message queue"
attached to that window. The message queue is serviced by a "window
procedure" attached to that window. So the sequence of events is:

keyboard keypress ->
  message queue ->
    appliction program window procedure

When you start a new program, it takes Windows a few moments to set
this all up. In that interval, I imagine that /all/ the keystrokes will
be lost, because the mechanism to process them, has not been created
yet.

A bit like spitting into the wind, when there is no bucket to catch the
result!

I'll do some more research tonight & post back to this thread before
tomorrow.

Signature

HTH,
TC (MVP Access)
[back from the dead!]
http://tc2.atspace.com

Randy Starkey - 20 Mar 2006 03:44 GMT
TC,

Many thanks!

--Randy

> Hi Randy
>
[quoted text clipped - 17 lines]
> I'll do some more research tonight & post back to this thread before
> tomorrow.
TC - 20 Mar 2006 04:38 GMT
Randy, I'm surprised to say that I can not find any information on this
problem (application startup losing keypresses). I've looked in every
nook & cranny I know. This is really surprising, because the topic is
so basic to how Windows works "behind the scenes". I thought there
would be hundreds of references to it.

If anyone else can find a reference, please hop in & offer it!

Signature

Cheers,
TC (MVP Access)
http://tc2.atspace.com

Randy Starkey - 20 Mar 2006 19:22 GMT
TC - yes, I sort of ran into the same problem when first starting to
research this. Weird. Maybe someone will have some more info.

Thanks!

--Randy

> Randy, I'm surprised to say that I can not find any information on this
> problem (application startup losing keypresses). I've looked in every
[quoted text clipped - 3 lines]
>
> If anyone else can find a reference, please hop in & offer it!
 
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.