03-08-2009, 01:19 PM
Hilariously, Joke is right. DoEvents are a non-blocking way to use the "sleep" function in essence. The problems only occur when DoEvents is over used or misused. To properly use it is not easy, but in small apllications it has such a small effect on program flow. Mainly, if it is a GUI process, you should lock GUI, ect. There are many ways to stop it from being "evil" without the work of threading, which is sloppier than the devil to use in a small program.
This come from industry experience and over 10 years of programming with Visual Basic.
This come from industry experience and over 10 years of programming with Visual Basic.