Showing posts with label DoEvents. Show all posts
Showing posts with label DoEvents. Show all posts

Monday, April 21, 2008

DoEvents in VB.NET

I am not sure why this is so difficult to find, but if you need to do the equivalent to a VB6 DoEvents in VB.NET or even in C#:

System.Windows.Forms.Application.DoEvents()

or if you are in a form's code, it is simply:
Application.DoEvents()