Guest sriram Posted February 23, 2007 Report Posted February 23, 2007 I'm a newbie to programing in windows mobile 5 using visual c#. What I'm trying to do is build an app that reads a xml file from "My Documents" and changes the data around to display it. How do i get my program to read the xml file? ;)
Guest ddmf Posted March 2, 2007 Report Posted March 2, 2007 I'm a newbie to programing in windows mobile 5 using visual c#. What I'm trying to do is build an app that reads a xml file from "My Documents" and changes the data around to display it. How do i get my program to read the xml file? ;) Have a look at: http://support.microsoft.com/kb/307548 Also, rather than hard code the path, use Environment.GetFolderPath(Environment.SpecialFolder.Personal) which will return the path of the My Documents folder!
Guest kalkie2007 Posted June 22, 2007 Report Posted June 22, 2007 If you have a schema of the XML file you could use the xsd.exe tool to generate a class which has all the properties of the xml. To read the xml file in the class use the XmlSerializer. That way you won't have to parse the xml yourself.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now