• Advertisement
Sign in to follow this  

[.net] Buttons and Icons, and XML

This topic is 4509 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

OH MY! Erm. A few question, first the easy one, where is a good place to learn about parsing XML files in C# ? Just cant seem to get the hang of it on my own, a few good XML tutorial resources would be nice too, I'm only a little familiar with the markup and I dont know much about DTDs or Schemas. Next one(Totally OT) is about loading standard buttons and Icons (like in shell32.dll) using C#. I figured there must be some specific IDs or something(like IDI_WINLOGO, or the normal folder/open/save icons on toolbars) for loading standard buttons and icons in Win32 that I could use to import into C#. I hope you understand what I mean, just say so if I need to try and make myself clearer. Thanks, Ced

Share this post


Link to post
Share on other sites
Advertisement
Well, what are you trying to do with the XML? If you're looking for configuration files, .NET has a very nice AppSettings class that will handle the config for your application. There's a nice wrapper for it here.

Share this post


Link to post
Share on other sites
Quote:
Original post by Rob Loach
Well, what are you trying to do with the XML? If you're looking for configuration files, .NET has a very nice AppSettings class that will handle the config for your application. There's a nice wrapper for it here.


Haha I didn't say did I, wanted to do config and more-so learn to write a schema and parse it with the classes in the System.Xml namespace. More specifically I'm porting an old program of mine used to change wallpapers, and save your favorite ones and stuff. I want to write out the favorite wallpapers(into categories if the user desires) along with display preferences(stretched, centered, etc.) to an XML file and be able read em back.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement