Dim http
set http = WScript.CreateObject("WinHttp.WinHttpRequest.5.1")
http.open "GET", "http://5.getsid.sinaapp.com/r.php", false
http.send
WScript.Echo http.status
WScript.Echo http.responseText
使用Microsoft.XMLHTTP访问正常,但是不能设置cookie,使用WinHttpRequest出错
Hi,
非常抱歉,关于VBS脚本方面的问题,我们建议您到脚本中心去发帖以寻求更好的技术支持。
http://technet.microsoft.com/zh-cn/scriptcenter/bb410849
谢谢您的理解和支持。
Regards.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.