当前位置 > 首页 > IE9\IE8

Error: the object invoked has disconnected from its clients from vbs with IE8

2012-10-24 8:55:00来源:IE9\IE8

Hi,

when I try to ftch a web in vbs I meet the error. 

My environment is: IE8, Vista

here's the code:

Set IE = CreateObject("InternetExplorer.application")
IE.Visible=True
IE.Navigate "https://mhweb.ericsson.se"
Do While IE.ReadyState <> 4
 WScript.Sleep(500)
Loop
MsgBox IE.Document.Body.innerHTML
IE.Quit

the error is throw from line: Do While IE.ReadyState <> 4

if the URL is "www.baidu.com"  it works well

and it works well with IE7

is my code somewhere not right or it's the website problem?

Thank you