>I would like to include into a proc file the ability to loop at intervals instead of just looping with a DO WHILE. I have noticed that using a do while processing is very intense and you are unable to do anything else as the system is so occupied.. On the other hand, using timer this doesn't seem to be the case.
Bob,
Without knowing the gruesome details, I belive the Timer control is linked to the SetTimer WinAPI function. The SetTimer function sets up timer in the OS and the OS handles the interval and countdown outside of the internal VFP processing. It is for this reason that there is no increase in VFP processing times.
When the OS detects that the timer event fires, it sends a WM_TIMER message to VFP to process. That is the only time VFP gets into the mix.
HTH.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao