I'm playing around with scripting objects. I have a COM control "myControl" that has a method "subscribe" to create an asynchronous subscriber of messages:
myControl.subscribe "params"
This control actually creates a callback called _newMessage which it fires whenever a new message arrives, so in my case I need to code something like this:
sub myControl_newMessage
[Code to handle the new message]
end sub
I've created this in my script but it doesn't fire. Can you create event handlers on the fly for events from COM objects?
Thanks!
Nick