System.Windows.Forms.Application.DoEvents()
what does this do ?