How to catch ActiveX event in HTML page

M

max

Hi,

I'm developing an activex in C++. I'm using it in HTML pages. I
managed to call proporties and functions of this one. But I can't
catch his events.
I try it in VB and test container, and it's working very well. I've
tried following code :
<SCRIPT LANGUAGE="javascript" FOR="TelephonyPayment"
EVENT="NetworkReachedEvent()">
alert ("usercontrol event fired");
</SCRIPT>

<SCRIPT LANGUAGE="VBScript">
Sub TelephonyPayment_NetworkReachedEvent()
msgbox "Event Fired"
End Sub
</SCRIPT>

<script language="JScript">
function TelephonyPayment::NetworkReachedEvent() {
alert('Event fired: ');
}
</script>

But nothing runs.
What's the problem ?
Thanks in advance for your help
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,566
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top