Set web=CreateObject("InternetExplorer.Application")
'set false to experiment:
web.visible=True
web.Navigate "http://www.google.com"
While web.busy
wscript.sleep 100
Wend
URL="http://www.yahoo.com"
Set xml = CreateObject("MSXML2.XMLHTTP.3.0")
xml.Open "GET", URL, False
xml.Send
resp = xml.responseText
'uncomment to experiment:
'web.quit
msgbox resp,vbInformation,"Please hit CTRL+C to copy this"
|