Hi everybody
I want develop a Windows form application as web browser.
I use from bellow code:
WebRequest request = WebRequest.Create(this.Url.Text);
WebResponse response = request.GetResponse();
Stream stream = response.GetResponseStream();
StreamReader reader = new StreamReader(stream);
this.WebBrowser.DocumentText = reader.ReadToEnd();
reader.Close();
But I have an error.
this code only create a request while most of web site have many Url therefore I must create a request for any Url in website.
How I can load whole of web site files and direction???
Please help me
Thank a lot