Solved

detect no movement of mouse or keyboard

Posted on 2010-08-14
3
574 Views
Last Modified: 2012-06-27
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
Comment
Question by:Evan Cutler
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 16

Expert Comment

by:kris_per
ID: 33438804
0
 
LVL 12

Expert Comment

by:Mohamed Abowarda
ID: 33439969
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
 
LVL 2

Accepted Solution

by:
wolfie62676 earned 500 total points
ID: 33559858
You could also build a screensaver application and let the operating system worry about detecting full system "idle".
0

Featured Post

Enroll in June's Course of the Month

June's Course of the Month is now available! Every 10 seconds, a consumer gets hit with ransomware. Refresh your knowledge of ransomware best practices by enrolling in this month's complimentary course for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

pc, laptop  monitor connection configurations
Employees depend heavily on their PCs, and new threats like ransomware make it even more critical to protect their important data.
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
The viewer will learn how to successfully download and install the SARDU utility on Windows 8, without downloading adware.

729 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question