By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,494 Members | 1,079 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,494 IT Pros & Developers. It's quick & easy.

When Did User Last Use Keyboard or Mouse (System wide)?

P: n/a
Is there a .Net api or System api to determine when the user last used the
mouse or keyboard? I mean system wide, not just the last keyboard or mouse
interaction with my app.

I'm aware of SetWindowsHookEx but have never used it, and given my VB.Net
skills it would be a major (but interesting) undertaking to use it from
within a VB.Net application.

Thanks, Bob
May 28 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
"eBob.com" <eB******@totallybogus.com> schrieb:
Is there a .Net api or System api to determine when the user last used the
mouse or keyboard? I mean system wide, not just the last keyboard or
mouse interaction with my app.


<URL:http://dotnet.mvps.org/dotnet/code/misc/#UserIdle>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

May 28 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.