Have been writing cool code (believe it or not) in VBA, for going against
certain web sites and collecting data for the database.
Everything works well with Excel's VBA going against IE data and parsing the
HTML and getting innerHTML's etc.
This is with Office 2007, Windows XP, IE 70.0.5730.13
But when you use the same VBA with Vista, Office 2007 and IE 7.0.6000.16389,
it is totally different.
DOM is 90% different and nothing works. How come? How can there be so much
difference.
Example:
in XP something like this, works :
Set oE = createObject("InternetExplorer.Application") : oE.Visible = Ture :
oE.Navigate http://www.junk.com" : iForms = oE.Document.forms.length
But in Vista and IE 7.0.6000.16389
Set oE = createObject("InternetExplorer.Application") : oE.Visible = Ture :
oE.Navigate http://www.junk.com" is fine....
But then after that.....it becomes oE.Application and then
oE.Application.Document .....and the rest does not make any sense.
What is the Problem? Is the progId ("InternetExplorer.Application") does
not apply anymore?
Also, does anybody know the best tool and/or environemnt to write Scraping
vb scripts against web pages?
My vba stuff works fine, but occasionally IE dies due to leaks and garbage
collection and stops functioning after a few thousand hits.
Anything will help