Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What could make Timer to stop?
Message
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01385495
Message ID:
01385684
Views:
43
>>>I have a small program with two timers; one timer is simply used to show the progressing of times (in seconds). The second timer actually performs a procedure every minute. It happened once last week and today that customer reports that the timer that shows progressing of time stops at various points (e.g. 43 seconds) and the program stops. It does not freeze though as he is able to click on the Stop button and restart the program.
>>>
>>>What could possibly cause the timer to stop?
>>
>>A tight loop that doesn't give the timer any chance to act. Make sure that any such loops in your code include DOEVENTS to allow the timer to fire.
>>
>>Tamar
>
>What do you mean by "tight loop"? Is it DO WHILE that runs through many records in the timer event?

Yes or SQL Select.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform