BCB: Best way to make a Schedule/Agenda (Trigger events)?
Posted on 2004-03-23
I'm not the best programmer in the world, but I'm learning.
At the moment I am designing an Personal Assistant API. (Borland Builder 6)
Now I want to implement a Schedule/Agenda in it.
Of course there are several ways to trigger an event like a Birthday or a Appointment etc.
Now I want to know what will be the best way to do this?
-Read everything from 1 large ('Database') file every minute?
-Make a 'trigger-file' (or array)(that is checked every min.) and only read from the 'Database' when triggered?
And how should you handle recurring events? (adding en deleting)
Does anybody have/know an example/a tutorial or maybe some useful code(with explanation)/links?
Thx in advance, very appreciated!
Best regards, Roland(BE).