|
How do I read the score from this file later? I think I've tried on million times with different ways and I still can't figure this out. I was trying for example with this code:
|
but it didn't work. Please help.
|
|
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
CrishPosted May 19, 2010, 12:56 PM
try this link http://www.stardeveloper.com/articles/display.html?article=2009030701&page=1
also , plese try below code
SimonPosted May 19, 2010, 1:32 PM
System.Xml.XmlDocument xd = new XmlDocument();
xd.Load("Decrypted.xml");
XmlNode root = xd.DocumentElement;
temp = root.SelectSingleNode("HighestScore").ChildNodes[0].Value;
bestResult = Int32.Parse(temp);
Thank you :)