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.
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL