Webbrowser control in .Net

N

Newton Godoy

Hi all,

I'm having some dificulties in using the webbrowser events in a windows
forms. Events like downloadcomplete, navigatecomplete etc seem not be raised
at all. For testing, I have placed a breakpoint inside the handler for those
events but the program never stops there.

Are there known issues with using webbrowser's events? The only thing I am
able to do at the moment is to use the navigate method to display content in
the webbrowser, but my application needs some interaction between the
hosting form and the webbrowser and using events seems to be the best
approach for that.

Any hints, references, etc would be very welcomed.

Thanks,

Newton.
 
C

Cor Ligthert

Newton,

Not that I know however I use the documentcomplete2 and navigatecomplete2.
The one you mention are there for compatible reasons.

As well are there pages which never end and for those I use a timer, however
that has in my opinion more to do with the pages.

Cor
 
H

Herfried K. Wagner [MVP]

* "Newton Godoy said:
Hi all,

I'm having some dificulties in using the webbrowser events in a windows
forms. Events like downloadcomplete, navigatecomplete etc seem not be raised
at all. For testing, I have placed a breakpoint inside the handler for those
events but the program never stops there.

Are there known issues with using webbrowser's events?

BUG: The BeforeNavigate2 Event of the WebBrowser Control Does Not Fire
If Hosted in a Visual Basic .NET Application
<URL:http://support.microsoft.com/?scid=kb;EN-US;311298>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top