I came accross and interesting question in the SalesLogix Business Partner newsgroups. Someone needed to read the return from a webpage from a SalesLogix VBScript. They were trying to use the WebBrowser control and pull the HTML returned after setting the URL (which you can’t do with the SLX WebBrowser control). Anyway, XMLHTTP is the right way to do this.
If all you want to do is read what is returned from a URL then use something like XMLHTTP from the MS XML parser to read the data from the URL. Here’s a sample that will read the HTML from Google.com and place the results in a TextBox.
Set objHttp = CreateObject("Msxml2.ServerXMLHTTP")
objHttp.Open "GET", "http://www.google.com/", False
Text1.Text = objHttp.ResponseText
Set objHttp = Nothing