Tuesday, 24 September 2013

How to read webpage in vbscript

Here is an example in which I am using xmlhttp object to get the url source  code.
We can get data from any website using below code.

Set objHTTP = CreateObject("MSXML2.XMLHTTP")
Call objHTTP.Open("GET", url, FALSE)
msgbox  (objHTTP.ResponseText)

No comments:

Post a Comment

Total Pageviews