CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2001
    Posts
    5

    Application Idle

    i have an application with 60 forms, and atleast 40 simultaneous users use it,
    so are the database connections.my problem is to end the application if it is idle for more than 20 minutes. From my application i call an excelobject to print reports which takes a max of 2-3 hours depending on the report so ordinary keyboard hit and mouse movement tracking is not useful.

    Many thanks in Advance



  2. #2
    Join Date
    Jun 2001
    Location
    Memphis, TN
    Posts
    146

    Re: Application Idle

    Could you put a timer in that is monitored and restarted each time a user makes a transaction within your app? Set a timer interval to 60000 (1 minute) and check to see how much time has lapsed since the last user transaction and if it is greater than 20 minutes, then end the app. Just a suggestion, good luck!


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured