Is it possible to close an application that has not been used during the week using the function Idle(604800), or is 604800 too high value for the Idle function?
Does the Idle function take away large Windows resources?
After adding Idle(604800), we started receiving complaints that the app was closing after a few hours or days.
Thanks.
And how( in which event) do I reset the counter to start counting again if the user did something in the app?
I want to catch a continuous week of inactivity.
Great question!
You would need to add a "MouseMove" and a "Key" event to your Ancestor Window class. In there, reset your day counter to Zero. The same for the DW Control. That should then perform this action on any user interaction with the PB Application. HTH
Regards ... Chris