Is there a way to get a Message from a website(like copy it), then have it show up in a textbox? If, so can you provide an example?

>so can you provide an example?

You can use HttpWebRequest class or WebBrowser control.

You can use WebRequest.

Here's an example:

Add reference: "using System.Net;"

WebRequest request = WebRequest.Create("http://www.google.com");
WebResponse response = request.GetResponse();

System.IO.StreamReader reader = new System.IO.StreamReader(response.GetResponseStream());

textBox1.Text = reader.ReadToEnd();

Say I wanted to get this text : TEST

How would I get that?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.