Here is the script I use... Very simple
'#
'# AUTHOR: Simon Dunford, January 2004
const WEBPAGE = "
dim oXMLHTTP, xml, sStatus
'# Create an xmlhttp object:
set xml = createObject("Microsoft.XMLHTTP")
' Or, for version 3.0 of XMLHTTP, use:
' Set xml = CreateObject("MSXML2.ServerXMLHTTP")
'# Opens the connection to the remote server and Send
xml.Open "GET", WEBPAGE, False
xml.Send
'# Get status
sStatus = xml.status
if cInt(sStatus) <> 200 then
msgbox "Error " & sStatus & " reported from website."
sSubject = replace( SUBJECT, "%e", sStatus )
sBody = replace( BODY , "%e", sStatus )
else
msgbox sStatus
end if
'# Output entire results to test it got the page!!!
msgbox xml.responseText
Set xml = Nothing
msgbox "Done"