Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP program seems to freeze but is running
Message
From
03/01/2014 15:27:43
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
03/01/2014 15:14:48
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01591290
Message ID:
01591303
Views:
61
>Issuing DOEVENTS every hundred records in a scan works somewhat. The WAIT WINDOW message does not freeze, but the screen becomes dimmed as it does in Windows 7 whem app is not responding. BTW, the Debugout message does not show until the end of the cycle, when all the messages show up at once.

I have a few processes like that, and generally I output a line now and then (echo the logging of a few things) to _screen or a blank form. So you have a progress indicator and there's something going on and the Windowses may be somewhat happier than without it.

In cases where I suppress the output but rely solely on wait window, just clicking out of this exe and back to it brings on the exactly same behavior as you describe. The task is seemingly frozen, Windows thinks it's not responding, new wait window commands don't show up, yet the task eventually gets done.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform