Opneing HTTP strange problem

J

Jack

Hi All

I'm having problems trying to open http.
Running the script below, on my work PC it works OK, but
the same script on my home PC gives me an error.
"Unable to evaluate the expression" on line 3,
the "iweb.open" line
==============================================
url="www.yahoo.com"
set iWeb = CreateObject("MSXML2.XMLHTTP")
iWeb.open "GET", url, False
iWeb.send
tpage= iWeb.responseText
===============================================
Am I not setting something in my browser?
I've tried all sorts of various urls but to no avail.
Does anyone have a clue?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top