I want to detect user activity (mouse move, key click). For certain
critical areas (Form in my app.), I want to check whether there is any
user activity for a certain interval. If not, then I want to log off
the Form. I don't want to user Timer controls. Is there any build
in .NET class that can do this and return user-activity. 2 7237
On 20 Sep, 10:39, RP <rpk.gene...@gm ail.comwrote:
I want to detect user activity (mouse move, key click). For certain
critical areas (Form in my app.), I want to check whether there is any
user activity for a certain interval. If not, then I want to log off
the Form. I don't want to user Timer controls. Is there any build
in .NET class that can do this and return user-activity.
I'm not aware of anything specifically for this, but it should be
quite easy to do yourself. Just intercept all key presses by using the
keypreview setting for the form plus the mouse events. If these are
triggered when a global flag indicates the restricted period, do the
required logging.
This is not precisely what you're looking for, but very similar: http://www.geekpedia.com/tutorial210...nput-Time.html
It will retrieve the idle time and last input time, but operating
system-wise instead of form-wise.
"RP" <rp*********@gm ail.comwrote in message
news:11******** ************@e3 4g2000pro.googl egroups.com...
>I want to detect user activity (mouse move, key click). For certain
critical areas (Form in my app.), I want to check whether there is any
user activity for a certain interval. If not, then I want to log off
the Form. I don't want to user Timer controls. Is there any build
in .NET class that can do this and return user-activity. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Hans Deragon |
last post by:
Greetings.
If I want to write a screensaver for Linux using Python, how can I detect
that the user has not touched the keyboard or mouse for the last 5 mins?
Sincerely,
Hans Deragon
--
|
by: Kenneth Courville |
last post by:
Hello,
I have an application that will be logging to a SQL Server 2000
database user user activity from several Windows 2003 terminal
servers. This information will be retrieved by monitoring the
Security logs of these servers (this part I know how to accomplish
already).
A table in the database, tblLogEntries, will contain the...
|
by: dude |
last post by:
How do I detect that there has been no activity on a form in an Access 97
Database
Paul
thanks
|
by: jdph40 |
last post by:
I am using Access 2002. I downloaded the forms sample database
FrmSmp97.mdb from Microsoft and used the following code in the timer
event of a hidden form in order to close a database if no activity was
detected. I have it set for one minute for testing purposes only.
However, my problem with this code is when the message box pops up and...
|
by: Law |
last post by:
To all the VB master,
i'm new baby in VB. I would like to get ur's advice on how
to stop the application when user is not in use within 5
or 10mins?
Hope to hear VB master soon.
Tks,
Law
| |
by: Terry Olsen |
last post by:
I have a chat application. I want it to show the user as "away" if no
activity on the computer occurs for a certain amount of time.
I have a timer that I set for the correct interval, when it ticks, the chat
status changes to Away.
How can I detect any activity (mouse move, keypress, etc) on the computer
(not just in my app)?
Also,...
|
by: Ke Tao |
last post by:
HI All,
Is there anybody have an idea of how to detect internet is reachable ?
At present , I'm using ping to detect internet is reachable , but it's
maybe a bad idea , some firewall of router may block ping requesting.
Best Regards,
Ke Tao
|
by: michael234 |
last post by:
Hi All,
Before i get into things I'm writing in C# using VS2003 with framework 1.1.
I am having a problem accessing a user control in the code behind.
I'm using the user control for some repetitive code and i need to access a public property.
.aspx
|
by: =?Utf-8?B?SmVzcGVyLCBEZW5tYXJr?= |
last post by:
Hi,
I want an app that I'm writing to be able to hide itself whenever it hasn't
been used for say 10 minutes.
Is there a smart way to detect user activity within an app. Kind of overall
message that I can hook up to so that I dont have to call some function to
register user activity in all my gui event handlers.
Jesper.
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...
| |