[RESOLVED] Get HTML With Inet
Well I'd just completed a program that uses the Inet control to get the HTML of a webpage and then parse it. Now I've bought a new, much faster computer and the exact same program won't work properly! The problem is that the Inet is not downloading the entire html source. The thing is, if I add a breakpoint in Inet_StateChange just before it gets the html, it gets all of the html so I have a feeling this has something to do with my computer being so fast that it gets the html before all of it is there.
I simply use HTML = Inet.OpenUrl("http://url.com"), but it doesnt work.
When trying to get HTML for http://www.azlyrics.com/lyrics/craig...lastdance.html it always stops when the length Len(HTML) = 1159
Anyone have a solution to this?
Re: [RESOLVED] Get HTML With Inet
i've read a few things saying that theninet control has a lot of bugs, if you still cant get it working then you can use the webbrowser control,
webbrowser1.navigate "www.google.com"
do until webbrowser1.readstate = readycomplete
doevents
loop
text1.text = webbrowser1.innerhtml