
Prevent object from being download
Quote:
> > > If you use CreateObject in script, rather than the <object> tag, then
> you
> > > will not be prompted to download the object - it will just fail.
> > But it will fail with an error, in which case unless you are running IE5,
> > that's not a lot of good is it?
> Hi,
> Actually, come to think of it, I read this first in a non-JScript group, and
> as you can see, I used "CreateObject" (not "new ActiveXObject").
Fair comment, I read it only in a JScript group, and as he'd mentioned
webpages just assumed you were losing your marbles and didn't feel the need to
point it out... :-)
Quote:
> So you could use "On Error Resume Next" in VBScript and you'd be fine in IE
> 3 and 4 as well. And you wouldn't care about Navigator, because you're using
> ActiveX controls.
Ah.. but I read this in a JScript group, and I'm still ignoring Navigator - I
only installed it today for the first time in months to do the demo mentioned
in the other thread and to check that new Layer() did work as I remembered
before posting it... I try and forget about navigator as much as possible...
I hadn't noticed it was going outside of a JScript group...
My only problems with the Agent control, is that for some reason he won't
co-exist with my own ActiveX control in the same window...
Jim.