Solved

detect no movement of mouse or keyboard

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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

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…
You have seen this as an option on your internet browser before or it may be completely new to you.  But what does this mean and why would I use this?
The viewer will learn how to successfully download and install the SARDU utility on Windows 8, without downloading adware.
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.

705 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

21 Experts available now in Live!

Get 1:1 Help Now