Jump to content
Xtreme .Net Talk

Recommended Posts

Posted
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"
Posted
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...

Phil Price�

Visual Studio .NET 2003 Enterprise Edition

Microsoft Student Partner 2004

Microsoft Redmond, EMEA Intern 2004

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...