Thanks for your reply. I didn't even realize that what you wrote is valid JScript.
I always used the event handlers in this way:
code:
var pActivex;
function OnEvent_Intialize(bMessengerStart)
{
pActivex = new ActiveXObject("MyProject.Control");
pActivex.MyEventName = fnEventHandler;
}
function fnEventHandler()
{
// do my event stuff
}
I think I must have neglected to implement some interface in my COM object that I tried to use from the script. I'll figure that out tomorrow.
I'll verify everything and report back if it works.