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 derfloh 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
Joined
Mar 22, 2012
Messages
1
Location
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