Help me read XML files from the internet and display on a form in a la

This is an isolated issue that deals with more than reading.

Page 1 of 1

2 Replies - 1893 Views - Last Post: 30 December 2009 - 02:16 AM Rate Topic: -----

#1 drxthirst   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 29-December 09

Help me read XML files from the internet and display on a form in a la

Posted 29 December 2009 - 11:57 PM

First off, I'd like to thank anyone in advance for the help I may or may not receive.

Now, I'd like to give some background. I have never created a program in which I read information from an XML file on the internet and then displayed it as a label in a form. However, this is something that I don't necessarily "need" to have done, however, it is something that I definitely would love to learn how to do and I "need" to know how to do it to finish the application I'm working on. This application was created for people at Xbox 360 forums to use to track certain things about another person's Xbox 360 gamertag, or even their own. However, you must know nothing at all about the "Xbox 360" or things that are related to it to help me with this problem.

Finally, I'm going to get to the issue -- The program that I am currently working on did look like this:
Posted Image

Although, after running across [THIS] amazing website, I turned it into this:
Posted Image
In that image, you should notice two things:
1.) Under the "status and options" groupbox, the "status" is actually fake and is activated by one of the links below.
2.) Under the "Last Playing:" groupbox, all you see is "label1," because I want to read the "<Info>" part of the XML file and put it on that label.

So, basically, I need to know how to read through XML files on the internet, parse through them to choose what I want it to read, and then apply whatever I wanted it to read to label.

Thanks again for all help provided!

Is This A Good Question/Topic? 0
  • +

Replies To: Help me read XML files from the internet and display on a form in a la

#2 PsychoCoder   User is offline

  • Google.Sucks.Init(true);
  • member icon

Reputation: 1659
  • View blog
  • Posts: 19,853
  • Joined: 26-July 07

Re: Help me read XML files from the internet and display on a form in a la

Posted 30 December 2009 - 12:38 AM

Check out the C# FAQ. In it there are links to snippets & tutorials on an array of tasks, such as reading XML files. I think, since you've done no coding on this so far, this would be a great place for you to start :)
Was This Post Helpful? 0
  • +
  • -

#3 drxthirst   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 29-December 09

Re: Help me read XML files from the internet and display on a form in a la

Posted 30 December 2009 - 02:16 AM

Well, to be honest, I just figured it out. I am SO tired that I don't even remember where I got the code from, but here's the final product... or nearly, anyway. Thanks for suggesting those topics. :)

Posted Image
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1