How to load .resx file
-
Hai I have One .resx file. I have embedded this file into my project. Assembly thisAssembly = Assembly.GetAssembly(Type.GetType("samp.Form1")); ResourceManager rmListImages = new ResourceManager("Images1", thisAssembly); imageList = new ImageList(); imageList.ImageSize = new Size(16, 16); Bitmap icons = (Bitmap)rmListImages.GetObject("Image"); When I am running the above code it is showing the following error. An unhandled exception of type 'System.Resources.MissingManifestResourceException' occurred in mscorlib.dll Additional information: Could not find any resources appropriate for the specified culture (or the neutral culture) in the given assembly. Make sure "Images.resources" was correctly embedded or linked into assembly "samp". baseName: Images locationInfo: resource file name: Images.resources assembly: samp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null Can any body suggest how to solve this. Chito.