Function 'DoneRecently' - October Tip of The Month
A common news group question goes something like:
The VB timer's interval is limited to about one second (65,535
milliseconds). How do I run an application that wakes up twice a day to
perform a scheduled function?
Last year I wrote a function I call 'DoneRecently' which uses a duration and
a last done time. It returns True only when the last done date/time plus the
duration is greater than the current time. You could use this function to
write a routine that 'wakes-up' every so often and performs some scheduled
task. So the function 'DoneRecently' becomes the tip-of-the-month.
You can check out the tip by linking to:
then look for the October 2001 tip.
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center