How to use resource files (c#)

Started by
1 comment, last by Miksan 20 years, 5 months ago
I''m using vs.net, and I need something like the old fashioned resource file, a table of strings with somekind of name. So the translation would be easier. I found a "Assembly resource file" from the menus. How does this new resource thingie work? I can see that there''s nice editor for it, and it saves things in XML, but how do I use this resource file in the actual program? And how about translating the xml file...? Sounds quite bad, the xml file that vs.net generates has at the start about hundred lines of something wierd stuff. Should the translating be done this way? Thanks for any tips.
Advertisement
Anyone? Shortly: How do I use a resource file with c# and how do I create it?
http://msdn.microsoft.com/library/en-us/cpguide/html/cpconcreatingusingresources.asp

--
AnkhSVN - A Visual Studio .NET Addin for the Subversion version control system.
[Project site] [Blog] [RSS] [Browse the source] [IRC channel]
--AnkhSVN - A Visual Studio .NET Addin for the Subversion version control system.[Project site] [IRC channel] [Blog]

This topic is closed to new replies.

Advertisement