Consuming ActiveX events in a gadget

Hello,

I have an ActiveX control (VB6) in my gadget. I'm trying to assign handlers to the events I create in the gadget like this:

var objAX= new ActiveXObject("ActiveX.Test");
objAX.customEvent = function(msg) {
debug(msg)
};

This doesn't work. The event in the control is correct, as it works when I use it in another VB6 project.

Any ideas?

Thanks,
Ty

[421 byte] By [tkroll] at [2007-12-29]