vnarod Posted March 20, 2003 Posted March 20, 2003 Is there an easy solution to check if user was using the application within last n minutes? I need to create an "application inactivity timeout" Quote
*Gurus* divil Posted March 20, 2003 *Gurus* Posted March 20, 2003 Not that I know of, you'll probably have to code this yourself. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
philprice Posted March 21, 2003 Posted March 21, 2003 A lame but easy way to do it would to be have a seperate thread running a simple timer, then everything you "do" something then you can tell the thread to start over. If the thread reaches its timeout it can send a message to the main app to shut down or do what ever. Can't think of a way without using threads... Quote Phil Price� Visual Studio .NET 2003 Enterprise Edition Microsoft Student Partner 2004 Microsoft Redmond, EMEA Intern 2004
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.