vb.net - How do I delay code execution in Visual Basic (VB6)? - Stack Overflow
While Nescio's answer (DoEvents) will work, it will cause your application to use 100% of one CPU. Sleep will make the UI unresponsive. What you need is a combination of the two, and the magic combination that seems to work best is: Private Declare Sub Sl...