Creating Custom Events

basapa

Newcomer
Joined
Apr 4, 2003
Messages
8
Hello,
I have a Vb.Net Project that use a WebBrowser component to show html pages in my appication. I need to create a Custom events in MSHTML Object.

I'have tried to create a behavior script for <body> object like this.

<public>
<event name = "myevent" />
<method name="callevent" />
</public>
<script language=VbScript>
Sub callevent

fireevent("myEvent")

End Sub
</script>


But I have an Error because MyEvent is not a Standard Event.
 
Back
Top