
How to get the HTML source code of other domains
msinet.ocx is a licensed control.
Try using the "msxml2.xmlhttp" object (IE5 and higher unless separately
installed)...
set http = createobject("msxml2.xmlhttp")
sURL = "http://www.microsoft.com/ms.htm"
http.open "GET",sURL,false
http.send
sHtml = http.responsetext
msgbox sHtml
XMLHttpRequest Object
http://msdn.microsoft.com/library/psdk/xmlsdk/xmld8bp0.htm
--
Michael Harris
Microsoft.MVP.Scripting
--
Please do not email questions - post them to the newsgroup instead.
--
Quote:
> Many thanks to all.
> How can I use the Inet control directly in ASP. I have tried many times by
> using createobject but failed.
> How come could they (www.serverobjects.com) develop a .dll by using the
Inet
> control?
> Thanks,
> Carlo