
Capturing an event in MSIE raised by an ActiveX component
Hello,
I am trying to capture an event in MSIE that is raised
by an ActiveX component that I developed. Basically the
component is throwing up 6 strings in the following
excerpt:
RaiseEvent Notice(Priority, Message1, Message2, Message3,
Message4, Message5)
In MSIE I am very rarely able to get it to capture using:
<SCRIPT LANGUAGE="VBScript" FOR="NCHSAlert"
EVENT="Notice(strPriority, strMessage1, strMessage2,
strMessage3, strMessage4, strMessage5)">
I have tried the following but they seem to never work:
Sub NCHSAlert_OnScriptletEvent (strEventName, varMessages)
<SCRIPT LANGUAGE="VBScript" FOR="NCHSAlert"
EVENT="onscriptletevent(n,o)">
Please note that in the first excerpt for some
undetermined reason MSIE does work sometimes - just more
often not.
Does anyone have any comments?