Re: Determine if no activity in VFP App Screen

2008-11-07 Thread Philip Borkholder
. John G. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Ellenoff Sent: Wednesday, November 05, 2008 23:50 To: profox@leafe.com Subject: RE: Determine if no activity in VFP App Screen Expanding on Allen's idea here -- anytime Windows

RE: Determine if no activity in VFP App Screen

2008-11-06 Thread Steve Ellenoff
Expanding on Allen's idea here -- anytime Windows is shutting down it sends shutdown messages to all running applications so that they can do housecleaning. You can have VFP bind to this message (assuming you're running VFP9) and have your app close itself down as Windows is closing down as

RE: Determine if no activity in VFP App Screen

2008-11-06 Thread Anthony J. Gundrum
] On Behalf Of Steve Ellenoff Sent: Wednesday, November 05, 2008 23:50 To: profox@leafe.com Subject: RE: Determine if no activity in VFP App Screen Expanding on Allen's idea here -- anytime Windows is shutting down it sends shutdown messages to all running applications so that they can do

Determine if no activity in VFP App Screen

2008-11-05 Thread 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

RE: Determine if no activity in VFP App Screen

2008-11-05 Thread Allen
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

Re: Determine if no activity in VFP App Screen

2008-11-05 Thread MB Software Solutions General Account
Philip Borkholder wrote: 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

Re: Determine if no activity in VFP App Screen

2008-11-05 Thread Philip Borkholder
Hi Michael, thanks for asking... I actually have a customer using an app that keeps track of flags in the system when they are logged in. Some users are leaving the app up and running in T.S. and then leave for the evening instead of logging off. They set T.S. to forcibly close down the app and

Re: Determine if no activity in VFP App Screen

2008-11-05 Thread Michael Madigan
Isn't there an on shutdown or on logoff routine built into foxpro?  Wouldn't that work? --- On Wed, 11/5/08, MB Software Solutions General Account [EMAIL PROTECTED] wrote: From: MB Software Solutions General Account [EMAIL PROTECTED] Subject: Re: Determine if no activity in VFP App Screen

Re: Determine if no activity in VFP App Screen

2008-11-05 Thread Philip Borkholder
? Wouldn't that work? --- On Wed, 11/5/08, MB Software Solutions General Account [EMAIL PROTECTED] wrote: From: MB Software Solutions General Account [EMAIL PROTECTED] Subject: Re: Determine if no activity in VFP App Screen To: ProFox Email List profox@leafe.com Date: Wednesday

RE: Determine if no activity in VFP App Screen

2008-11-05 Thread Steve Ellenoff
Expanding on Allen's idea here -- anytime Windows is shutting down it sends shutdown messages to all running applications so that they can do housecleaning. You can have VFP bind to this message (assuming you're running VFP9) and have your app close itself down as Windows is closing down as