Check out this code. It freezes the program if the browser isn't ready!

Code:
    Do
        If WebBrowser.ReadyState = READYSTATE_COMPLETE Then
            'Code goes here
        End If
    Loop Until WebBrowser.ReadyState = READYSTATE_COMPLETE
Try it on your Pc and tell me what happens