Hello Dayne,
Do you want to close the app if the user doesn't touch the App, or if the
user doesn't touch Windows?
There's a difference.
Let's say I use your app, then minimize it, and open up Excel. I type in
Excel for an hour. Should you app time out?
If not, then you need to hook the windows event. The article that Wayne
sent is appropriate.
If, on the other hand, you want to close because no one has touched your app
in an hour, then you can simply set a timer in your app and when you get
keystrokes or clicks, set the current datetime in a static location. When
your time goes off, check to see if "too long" has occured, and if so,
close.
One problem: it isn't clear if your app is ASP.NET or is a Windows forms
app. In your title, you way Winform, but in the text you say webform.
If it is a web form, you have a totally different problem.
--- Nick
"Dayne" <d_**********@hotmail.com> wrote in message
news:uY*************@TK2MSFTNGP12.phx.gbl...
I need to have a auto timeout feature for a webform application(vb.net).
Basically, I want to close the application if the user does not have a
keyboard or mouse input after a specific period of time. Please help!
Dayne