I just installed IE 7 RC1 and my application scripts stopped working. An
example:

Dim IE, doc, pics
Set IE = CreateObject("InternetExplorer.Application")
IE.navigate "about:blank"
Do until IE.ReadyState = 4: WScript.Sleep 50: Loop
Set doc = IE.document
doc.write("test test <img src='abc.jpg'> test")
set pics = doc.all.tags("IMG")

pics.length now returns 0

Help! Help! What should I modify? I have many jobs held up because they
use this functionality to extract objects from web pages.

Thanks in advance

kk

PS: It was still running fine in the beta before RC1

Re: IE7 RC1 Breaks Scripts by Walter

Walter
Wed Sep 13 11:47:20 CDT 2006

"K.Kong" <someone@microsoft.com> wrote in message
news:uDDU6101GHA.772@TK2MSFTNGP05.phx.gbl...
:I just installed IE 7 RC1 and my application scripts stopped working. An
: example:
:
: Dim IE, doc, pics
: Set IE = CreateObject("InternetExplorer.Application")
: IE.navigate "about:blank"
: Do until IE.ReadyState = 4: WScript.Sleep 50: Loop
: Set doc = IE.document
: doc.write("test test <img src='abc.jpg'> test")
: set pics = doc.all.tags("IMG")
:
: pics.length now returns 0
:
The example above *shouldn't* work in any IE version because you omitted the
document.close statement. But the easy answer to your question is to never
rely on beta versions of applications, especially web browsers, on your
production machine. Until they release it, it's still a beta, even if they
call it a release candidate. It would also help if you send a detailed
report to the IE people at Microsoft pointing out all of the problems that
you've spotted.