Hello. I started making software for Counter Strike server of my friend. I want to grab some text from cs server page to labels in my form. Here is the page: http://www.gametracker.rs/index.php?page=server_info&ip=193.192.58.206:27065

I want to add info of the server to my form. Example:
Game: Counter Strike 1.6
Mod: PUB
Naziv: Ecka Public
IP Address: 193.192.58.206:27065

I need the code for grabing text from website. Not all text! I want to put only text that I want to labels in form. Thanks!

You can grap text from website like this :

navigate to the website
      WebBrowser1.Navigate("http://www.gametracker.rs/index.phppage=server_info&ip=193.192.58.206:27065")
      'and then you will need to get all the text from the website so(and save it to a textbox or / somtehing else )
      TextBox1.Text = WebBrowser1.Document.Body.InnerText
     'after you got the text you will need to split it to get the text you wanted.   
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.