Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Timed events
Message
From
10/01/2005 16:31:33
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Environment versions
Visual FoxPro:
VFP 7
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00975807
Message ID:
00975822
Views:
14
>I'm building a timeclock buzzer application. At certain times during the day buzzer.wav plays. So I need to figure out how to fire off these events. The times I want buzzer.wav to play is something like...
>
>05:59
>06:00
>11:29
>11:30
>14:29
>14:30
>
>
>I can use a timer and compare the system time but I need the timer interval to be less than 1 minute (as you can see above) and that could cause the buzzer to play multiple times within that time slot. Any ideas?

Joe,
Use a timer. Set its interval for the next buzz time, buzz, set interval for the next buzz time...
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform