webbrowser.busy vs webbrowser.readystate


  • What is the difference between the two methods below of waiting for a web page to load up fully?



    Dim wbBrowser As New SHDocVw.InternetExplorer



    While wbBrowser.Busy = True


    End While



    While wbBrowser.ReadyState < SHDocVw.tagREADYSTATE.READYSTATE_COMPLETE


    End While


    Sometimes one seems to work but not the other and viceversa

    Tuesday, September 19, 2006 11:06 PM


  • webpages are not always recieved in the same way - this is one reason why you seem to think/everyone thinks that one method will work and not the other but both probably will.

    I'm unsure what the difference would be but seems to be the same... the first one being easier to read/catch for the eye.

    Tuesday, September 19, 2006 11:59 PM