cyberdrugs
Programmer
Hi all,
I wrote a windows control in C#, and have been using it for a few months. I recently decided to try run it as an ActiveX Control, so I gave it a GUID, and now reference it in HTML like so:
<object id="myControl"
classid="clsid:A4B9C3C2-1234-451a-AEC1-DE3B042FB311" height="100%" width="100%" >
</object>
I now want to know, how the heck do I call functions within the control? I've tried the following:
<script type="javascript">
myControl.myFunction();
</script>
Unfortunately that doesn't work, anybody able to point me in the right direction please?
I wrote a windows control in C#, and have been using it for a few months. I recently decided to try run it as an ActiveX Control, so I gave it a GUID, and now reference it in HTML like so:
<object id="myControl"
classid="clsid:A4B9C3C2-1234-451a-AEC1-DE3B042FB311" height="100%" width="100%" >
</object>
I now want to know, how the heck do I call functions within the control? I've tried the following:
<script type="javascript">
myControl.myFunction();
</script>
Unfortunately that doesn't work, anybody able to point me in the right direction please?