im wating for a webbrowser to retrieve a page..

im using
Code:
 Do: DoEvents: Loop until wb.Busy = False
this code would be fine in vb 6, but DoEvents no longer exists (not declared??).. what do i use instead?