According to Visual Studio 2003 Help files "In Internet Explorer 6 or
later, the BeforeNavigate2 event fires only before the first navigation
made in code. It does not fire when a user clicks a link on a Web page."
If I want to intercept each webpage before it is rendered in the webbrowser
control (to add or remove code), where would I do so in the webbrowser
control?
Any suggestions?
C-Services Holland b.v. - 30 Nov 2004 09:27 GMT
> According to Visual Studio 2003 Help files "In Internet Explorer 6 or
> later, the BeforeNavigate2 event fires only before the first navigation
[quoted text clipped - 5 lines]
>
> Any suggestions?
This makes me wonder what you are trying to achieve. Injecting HTML code
into a requested page? I.E. Adding banners/spyware?
Maybe I'm too paranoid :)

Signature
Rinze van Huizen
C-Services Holland b.v.
Jim Hubbard - 30 Nov 2004 15:02 GMT
You are too paranoid. I want to REMOVE banners, spyware, authorized ActiveX
controls, etc. .
Microsoft's 4 security zones are not flexible enough. You have no granular
security control over each URL you visit.
I want to intercept the HTML before the webbrowser executes (displays) it
and remove potential problems or unwanted objects for the user.
>> According to Visual Studio 2003 Help files "In Internet Explorer 6 or
>> later, the BeforeNavigate2 event fires only before the first navigation
[quoted text clipped - 10 lines]
>
> Maybe I'm too paranoid :)
Cor Ligthert - 30 Nov 2004 10:49 GMT
Jim,
Is this not a question of simple debugging.
There are much events however not that much.
Even without debugging does setting simple a messagebox in every event tells
you what you want to know.
Just my thought,
Cor
"Jim Hubbard" <reply@groups.please>
> According to Visual Studio 2003 Help files "In Internet Explorer 6 or
> later, the BeforeNavigate2 event fires only before the first navigation
[quoted text clipped - 5 lines]
>
> Any suggestions?