views:

43

answers:

0

Hi All,

I need to use activeX control with connection point events in html page.I saw some sodes in different sites and most of tham says use this below code

<script for="Cntrl1" event="UploadProgress(Data)">
alert(Data);
</script>

But This is not working. I got this below code from How to handle an ActiveX event in Javascript (StackOverflow).

function Cntrl1::UploadProgress(Data) 
{ 
   alert(Data); 
}

I tried to use this one. But I can't. Can anyone help me?

I also implemented this connection point in VB 6.0 its working properly.

Thanks In advance, Dominic Louis