PC Review


Reply
Thread Tools Rate Thread

Determining Windows elapsed idle time in Access 2003?

 
 
=?Utf-8?B?TWFydGluIExsb3lk?=
Guest
Posts: n/a
 
      17th Feb 2005
How would I determine the amount of (Windows) idle time elapsed in Office
Access 2003 and then call or trigger an event.
i.e. If the current user has not used their mouse or keyboard for 15
minutes, the database will close.

Please help...
 
Reply With Quote
 
 
 
 
=?Utf-8?B?RG91ZyBTdGVlbGU=?=
Guest
Posts: n/a
 
      17th Feb 2005
The technique described in http://support.microsoft.com/?id=128814 should
work in Access 2003 as well.

"Martin Lloyd" wrote:

> How would I determine the amount of (Windows) idle time elapsed in Office
> Access 2003 and then call or trigger an event.
> i.e. If the current user has not used their mouse or keyboard for 15
> minutes, the database will close.
>
> Please help...

 
Reply With Quote
 
Wayne Morgan
Guest
Posts: n/a
 
      17th Feb 2005
Doug,

That will get idle time in Access, but the question sounded more like idle
time within Windows. I had the impression that if Access was open in the
background but the user was doing something else that the time shouldn't
show as idle. For that, you would need to get a hold of the timer used for
the screen saver or some other timer within Windows. I suspect it would be
an API call to either get this value or create your own timer within
Windows, but looking through the API list, I didn't see it; however, I'm
perfectly willing to admit that I may have just browsed past it.

--
Wayne Morgan
MS Access MVP


"Doug Steele" <(E-Mail Removed)> wrote in message
news:0A1E2DEC-EFAC-40FE-9C31-(E-Mail Removed)...
> The technique described in http://support.microsoft.com/?id=128814 should
> work in Access 2003 as well.
>
> "Martin Lloyd" wrote:
>
>> How would I determine the amount of (Windows) idle time elapsed in Office
>> Access 2003 and then call or trigger an event.
>> i.e. If the current user has not used their mouse or keyboard for 15
>> minutes, the database will close.
>>
>> Please help...



 
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
Calculate elapsed time Excel 2003 Legal Learning Microsoft Excel Misc 3 22nd Aug 2008 07:43 PM
System idle time ? (not ACCESS idle time) Cute Programmer Microsoft Access VBA Modules 1 2nd Jul 2008 03:04 PM
EXCEL 2003 Dates & elapsed time =?Utf-8?B?TWljaGVsbCBNYWpvcg==?= Microsoft Excel Misc 3 13th Apr 2007 12:10 PM
how do I calculate elapsed time in Access, I have start date/time. =?Utf-8?B?Q2Fzc2FuZHJh?= Microsoft Access 7 5th May 2005 08:09 AM
Determining Elapsed Military Time opie Microsoft Access Reports 1 2nd Sep 2004 06:56 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:01 AM.