I wonder if terminal server gives of a windows message. I would have thought so. If so maybe a bindevents might do the trick Allen
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Philip Borkholder Hello all, Does anyone have a method or API call to determine if a user has had no activity on the active screen on a workstation? (actually in a Terminal Server session) ? I have a customer, who already has Terminal Server set to decide if no activity has taken place for 2 hours, then it logs off the session, but then it bombs out the VFP app and messes up things. I need to have something on the VFP app to determine if there has been no activity in this session for 1 HOUR and then gracefully log off my app BEFORE the T.S. session shuts down because of inactivity. I'm not looking for a data related determination, but more so activity on the screen or something in Windows API to determine this if possible. _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

