Download HTML page

Download HTML page

With CreateObject("MSXML2.XMLHTTP")
.open "GET", "http://www.rgagnon.com/howto.html", False
.send
WScript.Echo .responseText
End With
If you need to send an username and password :
With CreateObject("MSXML2.XMLHTTP")
.open "GET", "http://www.rgagnon.com/secure/example.html", False, _
myusername, mypassword
.send
WScript.Echo .responseText
End With
posted @ 2008-02-26 00:37  HappyQQ  阅读(469)  评论(0编辑  收藏  举报