Autor Beitrag
BlackMatrix
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 243
Erhaltene Danke: 1



BeitragVerfasst: Di 29.12.09 16:41 
Hi.

Ist es möglich beim Navigieren des Webbrowsercontrols im Visual Studio, den Firefox als Webbrowser zu verwenden?

Ich möchte demnach beim Aufrufen von

ausblenden C#-Quelltext
1:
webBrowser1.Navigate("http://www.wieistmeineip.de/");					


den Firefox als Useragent stehen haben und nicht den IE.

MfG
JasonDelife
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 81

Windows 7 Professional
C# (Visual Studio 2008 Professional), Java (NetBeans IDE 6.7)
BeitragVerfasst: Di 29.12.09 23:12 
Der WebBrowser ist ein .NET-Wrapper um den IE.
Wenn du den Firefox haben willst, dann musst du die vom Firefox genutzte Gecko-Engine verwenden.
Der .NEt-Wrapper für die heißt GeckoFX: geckofx.org/

Grüße, JasonDelife.
BlackMatrix Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 243
Erhaltene Danke: 1



BeitragVerfasst: Mi 30.12.09 13:00 
Danke dir =) Ich werde es mal bei Gelegenheit ausprobieren.