472,110 Members | 2,061 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,110 software developers and data experts.

How do I detect application idle time?

Dear All,

Can you please help me out in detecting the application idle time.

I would like to lock the application if it is idle for more that 10 minutes.

FYI - I have already tried application.idle event.

Thanks and Regards,

Peri
Jul 26 '07 #1
3 6811
On Jul 26, 5:01 am, "Peri" <P...@discussions.microsoft.comwrote:
Dear All,

Can you please help me out in detecting the application idle time.

I would like to lock the application if it is idle for more that 10 minutes.

FYI - I have already tried application.idle event.

Thanks and Regards,

Peri
How are you determining "idle" time?

Thanks,

Seth Rowe

Jul 26 '07 #2
What do you guys think about resetting a timer each time a key is
pressed or mouse is moved ( low priority thread) ?
On timer tick at 10 minutes just lock the application.

Thanks,
Naren.

Jul 26 '07 #3
"Peri" <Pe**@discussions.microsoft.comschrieb
Dear All,

Can you please help me out in detecting the application idle time.

I would like to lock the application if it is idle for more that 10
minutes.

FYI - I have already tried application.idle event.

Thanks and Regards,

http://msdn2.microsoft.com/en-us/library/ms646302.aspx

Call the function every n seconds. The time is related to all applications,
not only to your application.
Armin

Jul 26 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Stephane Belzile | last post: by
2 posts views Thread by Keith Wilby | last post: by
19 posts views Thread by Frank Rizzo | last post: by
3 posts views Thread by Law | last post: by
reply views Thread by MIke Kansky | last post: by
21 posts views Thread by Bob Darlington | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.