Solved

detect no movement of mouse or keyboard

Posted on 2010-08-14
3
576 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

Command Line Tips and Tricks

The command line is a powerful tool at the disposal of every Linux user. Although Linux distros come with beautiful user interfaces, it's worthwhile to learn the command line because it allows you to do a number of things that you otherwise cannot do from the GUI.  

Question has a verified solution.

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

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
pc, laptop  monitor connection configurations
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 7, without downloading adware.

623 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