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
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