Possible to retrieve events by a control in webbrowsercontrol?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi
I want to know how I can retrieve the 'onchange'-Event of an HTML-Input-Element in my vb.net-code? I have access to the documentproperty (DOM) of the Webbrowsercontrol

Thx
Tobias
 
Regarding to my question there is an microsoft-article
KB Article KB311284 "HOW TO: Handle Document Events in a Visual Basic .NET Application"

The textbox on the site the example application loads doesn't work as usual. Can somebody of you also try the example given in the aticle? So I could find out if it is a general problem or only a problem on my computer

Tobias
 
Tobias Winter said:
Regarding to my question there is an microsoft-article:
KB Article KB311284 "HOW TO: Handle Document Events in a Visual Basic .NET Application".

The textbox on the site the example application loads doesn't work as usual. Can somebody of you also try the example given in
the aticle? So I could find out if it is a general problem or only a problem on my computer.


I tried it. I found a few things that needed fixing, (check your task list) but it pretty much ran after a few light
fixes.

Code: doc = AxWebBrowser1.Document
Fix: doc = CType(AxWebBrowser1.Document, mshtml.HTMLDocument)

And I added Me.Show at the top of Form_Load so I could see when the form was
ready to navigate.

LFS
 
Back
Top