Le 19 août 06 à 22:14 Soir, Tommy Single a écrit:
How can I limit the time that my application runs to 10 minutes? The
problem with a timer is when a user closes the window with the
timer, the
timer goes away and then the program could be used for longer. How
would I
do this with code and where would I put the code?
In addition, you can also make an invisible window (not closeable).
This is not the best way (using a property in the app class is better
since you don't have to create a window), but it's also a way
(usefull, for example, if you have other things to do in secret).
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>