Geeks With Blogs


Rodney Vinyard - .NET & SQL Developer When all is said and done, more will be said than done Resource Files resx
Get text from embedded resource files
1) Add a file as an "embedded resource" 2) if the file is in a "subfolder" note the "folder discussion" below 3) client call to class ResourceFileManager objResourceFileManager = new ResourceFileManager(); string x = objResourceFileManager.Read... 4) class using System; using System.IO; using System.Reflection; public class ResourceFileManager { public string ReadResourceString(string resourceFileName) { //value for our return value string resourceValue = string.Empty; ......

Posted On Saturday, April 12, 2008 11:22 AM

Copyright © Rodney Vinyard | Powered by: