[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 584
  • Last Modified:

detect no movement of mouse or keyboard

Greetings.

I need to create a service that can go from winXP, to Vista, and 7.
What I need to do is detect a lack of mouse and keyboard movements, then initiate an action.

This is to be done in vb.net

Help?

0
Evan Cutler
Asked:
Evan Cutler
1 Solution
 
kris_perCommented:
0
 
Mohamed AbowardaSoftware EngineerCommented:
If you are talking about mouse move on the form/controls, you can use timer and set interval to the idle time in milliseconds, now you can use the timer_tick event to check if the cursor position is on the form/control or not.
0
 
wolfie62676Commented:
You could also build a screensaver application and let the operating system worry about detecting full system "idle".
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now