c# WebBrowser Control BeforeNavigate2 Headers 
Author Message
 c# WebBrowser Control BeforeNavigate2 Headers

How do I modify the Headers for each request that the WebBrowser
control makes?

I need C# examples.

I found some documentation that suggests that I need to use the
BeforeNavigate2 event, but no example code for c#.



Sun, 05 Jun 2005 23:17:00 GMT  
 c# WebBrowser Control BeforeNavigate2 Headers
John,

    You probably are not going to find one.  You can add a reference in your
C# project to the web browser control and you should be able to use it
normally.  Once you have added it, you will want to add a delegate for the
BeforeNavigate2 event.  The Headers parameter will be a string that you
should be able to change as you wish.

    Hope this helps.

--
               - Nicholas Paldino [.NET/C# MVP]



Quote:
> How do I modify the Headers for each request that the WebBrowser
> control makes?

> I need c# examples.

> I found some documentation that suggests that I need to use the
> BeforeNavigate2 event, but no example code for c#.



Sun, 05 Jun 2005 23:20:01 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Webbrowser control: BeforeNavigate2 location?

2. Webbrowser - beforenavigate2

3. Control webbrowser ActiveX control in composit ActiveX control

4. WebBrowser Control/Explorer Control/HTML Control

5. WebBrowser control - create my own user control

6. Controlling the WebBrowser control

7. How to control WebBrowser control (or MSHTML.DLL)

8. MFC like printer control with the Webbrowser control (CHtmlView)

9. List control - Not getting notification of header control

10. Want to handle massages of header list control of list control

11. How to Add Header Control to Tree Control?

12. Subclassing the header control inside list control

 

 
Powered by phpBB® Forum Software