function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
dukeduke 

A discovery about how and when ActiveX custom events are handled

Hey All,

I just discovered an issue relating to custom events fired from ActiveX controls, which I think is worth sharing.  First, a little background is in order.  I developed an ActiveX control that fires a custom event.  I tested the control using the MS ActiveX Test Container and that worked fine.  I also ran the control within a "normal" html page and this also worked insomuch as the event fired and was handled by the script.  But when I embedded this HTML as an S-Control, the event was never handled by the script.  It was as if the event wasn't firing even though it was.  I converted my JavaScript into VBScript, but still no luck.  Then I tried a newer version of IE 6.0 and it worked!  It appears that custom ActiveX events are handled when using IE 6.0.2900, but they are not handled in IE 6.0.2800.  FYI.

Duke