From: Southern at Heart on
in the example code below, why doesn't it return the whole source of the
webpage


Function Get_Webpage(my_url As String) As Variant
Set my_obj = CreateObject("MSXML2.XMLHTTP")
my_obj.Open "GET", my_url, False
my_obj.Send
Get_Webpage = my_obj.responsetext
Set my_obj = Nothing
End Function

Sub test()
Dim strURL As String
Dim strSource As Variant

strURL = "http://www.gocomics.com/calvinandhobbes/2010/01/15"

strSource = Get_Webpage(strURL)
....


It's like it's truncated or something?
From: joel on

I found some notes at the MSDN website that said :

Change GET ot POST


POST works properly with multiple requessts to the same object. GET
does not. So try POST when you experience problems.


--
joel
------------------------------------------------------------------------
joel's Profile: 229
View this thread: http://www.thecodecage.com/forumz/showthread.php?t=170663

[url="http://www.thecodecage.com"]Microsoft Office Help[/url]