title: Get ReadyState from WebBrowser control without DoEvents
body: <p>This has been awnsered many times here and at other sites and its working, but I would like ideas to other ways to:</p>
  
  <p>get the ReadyState = Complete after using a navigate or post, without using DoEvents because of all of its cons.</p>
  
  <p>I would also note that using the DocumentComplete event woud not help here as I wont be navigating on only one page, but one after another like this.</p>
  
  <pre><code>wb.navigate("www.microsoft.com")
  //dont use DoEvents loop here
  wb.Document.Body.SetAttribute(textbox1, "login")
  //dont use DoEvents loop here
  if (wb.documenttext.contais("text"))
  //do something
  </code></pre>
  
  <p>The way it is today its working by using DoEvents. I would like to know if anyone have a proper way to wait the async call of the browser methods to only then proceed with the rest of the logic. Just for the sake of it.</p>
  
  <p>Thanks in advance.</p>