Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Force logout or stop app after elapsed time

Status
Not open for further replies.

rabbit75

Programmer
Aug 15, 2002
30
Hello,

Looking into how to force a logout or stop an app after a certain elapsed time. I searched the threads in here, but am still a little confused as I am fairly new to vb.net.

What I can see is using the Timer from the System.Threading namespace is better that putting the timer on the form. The Application.Idle event can be used to figure out when the app is entering Idle state, but is the best way to determine if the app is being used to use KeyPress and Mouse events?

Thanks,
rabbit75
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top