G
Guest
Hello,
I have an ActiveX object with events, and I need to get notifications of
these events in javascript script on asp.net web page.
The mentioned above ActiveX is a standard ATL com object implementing event
interface:
dispinterface _MyEvents
{
properties:
methods:
[id(1), helpstring("method MyEvent")] void MyEvent([out]BSTR aData);
};
Is it possible to subscribe to that event when the object is dynamically
created with "var obj = new ActiveXObject("...")"? There's a lot of info
about events when object is embedded into the page, but I can't find any
decent info about events of dynamically created objects.
Thanks in advance for any help.
I have an ActiveX object with events, and I need to get notifications of
these events in javascript script on asp.net web page.
The mentioned above ActiveX is a standard ATL com object implementing event
interface:
dispinterface _MyEvents
{
properties:
methods:
[id(1), helpstring("method MyEvent")] void MyEvent([out]BSTR aData);
};
Is it possible to subscribe to that event when the object is dynamically
created with "var obj = new ActiveXObject("...")"? There's a lot of info
about events when object is embedded into the page, but I can't find any
decent info about events of dynamically created objects.
Thanks in advance for any help.