Hello,
there is an option in Internet Explorer called "View Source". I'm wondering how I can make something like that in C# (Visual Studio 2005).
Thanks for all your help,
Dishwasher
Printable View
Hello,
there is an option in Internet Explorer called "View Source". I'm wondering how I can make something like that in C# (Visual Studio 2005).
Thanks for all your help,
Dishwasher
Are you making a web browser? Do you just want to type in a url and get the source code? Etc?
Hello, first I would like to thank you for your quick response and I just want to do: click and then I get the sourcecode of a website.
Thanks for reply and time,
Dishwasher
Code:System.IO.Stream strm = System.Net.WebRequest.Create("http://www.google.com/")
.GetResponse().GetResponseStream();
StreamReader str = new StreamReader(strm);
textBox1.Text=str.ReadToEnd();