Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XMLHTTP Problem

Status
Not open for further replies.

gaupbn

Programmer
Mar 22, 2012
1
0
0
US

The function below works fine when i run it on my local machine but returns blank page (no error) when i run it on a virtual machine... any help to fix this problem is appreciated..

Private Function Get_HTML (up_http)
Dim aRequest
Set aRequest = CreateObject ("Microsoft.XMLHTTP")
aRequest.Open "GET", up_http, False
aRequest.Send
Get_HTML = aRequest.responsetext
Set aRequest = Nothing
End Function
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top