Click to See Complete Forum and Search --> : how would i go about making my own web browser?


code?
November 17th, 2007, 03:14 PM
yeah i need help making my own web browser? espesically retreiving the docs from the internet site.

How do I setup my browser to get documents from the web? using sockets? dns? internet stuff?

Aurrin
November 17th, 2007, 03:38 PM
If you're talking about embedding a System.Windows.Forms.WebBrowser into a form, you only need to set webBrowser.Url . It will take care of pulling them in.


this.webBrowser1.Url = new Uri( "http://www.google.com" );


That's all there is to it.

Now, if you were talking about trying to implement something that does the same thing as System.Windows.Forms.WebBrowser..... first be advised that you're looking at an enormous undertaking. Definitely not a beginner project.

I believe you would fetch documents for it with HttpWebRequest class. Read up on the MSDN documentation on that class thoroughly: you'll need to know it before you can do much with getting web pages.