469,644 Members | 1,952 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,644 developers. It's quick & easy.

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 6619
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
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.