Click here to Skip to main content
15,888,610 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
i have windows application developed in visual studio 2005 using vb.net

i want to capture inactive time for my app only.

If the user don't use my app (which is opened already) for say 5 mins i want to auto log out the user and close the application.

But i want to capture inactivity only for my application. If user does something outside my app say open excel, or using any other app then that should not count.

Any idea how to do this ??
Posted

1 solution

There is a good article in Codeproject about automatic timed user-log-out facility in an application:Application Idle[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900