>I have a process that runs for a few minutes, displaying a thermometer to show progress. Every now and then the display appears to "freeze" and there is no visual indication that anything is happening. However, the processing continues and finishes in the usual time. At the end of the process the screen returns to normal.
>
>I would really like to know why this happens, and how to avoid it.
>
>(This is a vfp7 application).
Cyril, VFP will not update the screen if it is in a very tight/fast loop busy with something else. You need to create a slight pause after you update your thermometer to let VFP update the screen eg INKEY(0.01,"H") will probably do it. Also read up on DOEVENTS.
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.