Solved

detect no movement of mouse or keyboard

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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
What's the most efficient way to load up a couple of large table in C#? 5 38
SQL Login 17 40
Visual Studio TFS - how do I check in my code? 2 29
Help with Syntax 9 28
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
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.

920 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now