bely
Tue Dec 14 01:43:01 CST 2004
I found a bug in my script. Due to a design error, it calls Quit() method of
an "InternetExplorer" object twice (the script calls objIE.Quit() then the
_onQuit() function also calls objIE.Quit()). I wonder if the problem is
related to this bug, you know, the bug is there but is often "invisible". I
would be grateful if the answer is positive.
"Michael Harris (MVP)" wrote:
> bely wrote:
> > My version is 5.6.0.6626. I know it is not the newest version. But
> > according to this, do you think the bug is in my script or in the
> > script host?
>
> It is unlikley to be a bug in your script, if, as you say, the script has
> actually completed what it was intended to do.
>
> How often is 'occasional'? One out of 10 logons? One out of 100?
>
> Does this problem occur if you re-execute the logon script manually *after*
> is has already run during logon? Does it occur with any other scripts?
> Does your logon script do anything out of the ordinary?
>
> >
> >
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/w2kmsgs/791.asp
> >
> > I cannot be sure if upgrading the script host helps, bcz as I have
> > said, the error just occurs occassionally. And I may not be able to
> > upgrade it as my will (this is not my PC, but is my firm's). Does
> > anybody know what usually will cause this "application error" so I
> > can modify my script?
>
> If the bug is in the 5.6.0.6626 build script host (which I would assume it
> is) and has been fixed in a later build (no way to know if it has been),
> then your only option is to upgrade to a current build which should (one
> would hope) have the most bugs fixed...
>
> Since this is a work PC, you'll have to negotiate with your own tech support
> group as to what action to take.
>
> --
> Michael Harris
> Microsoft MVP Scripting
>
>
>