title: Failproof Wait for IE to load
body: <p>Is there a foolproof way for the script to wait till the Internet explorer is completely loaded?</p>
  
  <p>Both <code>oIE.Busy</code> and / or <code>oIE.ReadyState</code> are not working the way they should: </p>
  
  <pre><code>Set oIE = CreateObject("InternetExplorer.application")
  
      oIE.Visible = True
      oIE.navigate ("http://technopedia.com")
  
      Do While oIE.Busy Or oIE.ReadyState &lt;&gt; 4: WScript.Sleep 100: Loop  
  
      ' &lt;&lt;&lt;&lt;&lt; OR &gt;&gt;&gt;&gt;&gt;&gt;
  
      Do While oIE.ReadyState &lt;&gt; 4: WScript.Sleep 100: Loop
  </code></pre>
  
  <p>Any other suggestions?</p>