Pause/Wait without Locking up application
Posted on 2003-10-27
I have an application that runs a command or opens a dialog at a user specified interval. I am using the timer to set the interval. When I attempt to set the timer's interval above 64 seconds, I get an error "Invalid Property Value." I thought about using the sleep and tried it. It successfully works for the interval part, but if I try to do anything else in the application while sleep is running, it won't let me do anything. As soon as the interval has played out, then it executes the commands I put in while "Sleep" was running.
Is there a way of increasing the Timer interval above 64 seconds without locking up the application?