View Single Post
 
Old 03-13-2017, 05:38 PM
Cerian Knight's Avatar
Cerian Knight Cerian Knight is offline
Polymath (in disciplina)

Super Moderator
* Expert *
 
Join Date: May 2004
Location: Michigan
Posts: 4,194
Default

Quote:
Originally Posted by Roger-U View Post
... to many doEvents were simply hogging the processor
Oddly enough (face-palm), I had that same issue very recently with form responsiveness during writing a 2GB file. Initially I tried increasing the DoEvents frequency... which made the issue even worse.

Falling back to the old rule-of-thumb... more than ~20/second is (usually) unnecessary, and in some cases, detrimental: the form became more responsive and the simultaneous I/O operation completed more quickly.
__________________
I got all the answers wrong on the GLAT, apparently even #9 (where I put a period in the middle of the box and labeled it 'singularity ripe for rapid inflation').
Reply With Quote