We're a community of 1077K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,076,430 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

How to open a website in c# webbrowser component

Can anyone tell me that how can i open a site in webbrowser component of c#. Usually i open the site easily using the following code
webBrowser1.Url = new Uri("http://google.com");

But now i want to access a site which is not allowed to be opened by IE and one can only visit that site through firefox. I tried to open that site in webbrowser component but site was not functioning properly.. So i want to know that is there any way that i can change browsing client of webbrowser component to Firefox intead of IE...

2
Contributors
2
Replies
23 Hours
Discussion Span
3 Years Ago
Last Updated
3
Views
j4jawaid
Newbie Poster
6 posts since Jan 2010
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

well for this first set your default browser IE, some time it gives error, ande after that just go to the property of webbrowser contro, and there you find a option url, in url you just write the address of any website.like:
http://www.nameofwebsite.com

Hope it helps you.....:)

avirag
Posting Whiz
313 posts since Jun 2009
Reputation Points: 31
Solved Threads: 36
Skill Endorsements: 0

well for this first set your default browser IE, some time it gives error, ande after that just go to the property of webbrowser contro, and there you find a option url, in url you just write the address of any website.like:
http://www.nameofwebsite.com

Hope it helps you.....:)

Well i know this thing bro that how to open a url in webBrowser component. What i am asking is that how to change the client of webBrowser from IE to firefox so it uses firefox browser to open any page. also i dont want to open firefox using system.digonostic what i want is a firefox browsing component embedded on win form....

j4jawaid
Newbie Poster
6 posts since Jan 2010
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
View similar articles that have also been tagged:
 
© 2013 DaniWeb® LLC
Page rendered in 0.0569 seconds using 2.65MB