private void button1_Click(object sender, System.EventArgs e) { ResourceWriter imageResource = new ResourceWriter("quotes.resources"); Image testImage = Image.FromFile(@"c:\test.bmp"); imageResource.AddResource("msg1", "This is a string"); imageResource.AddResource("neil", testImage); imageResource.Close(); }Once you have an exe or dll that has been compiled with the embedded resource file the code in button2_Click shows how to extract the types from the resource file.
private void button2_Click(object sender, System.EventArgs e) { ResourceManager imageResManager = new ResourceManager("WindowsApplication1.quotes", Assembly.GetExecutingAssembly()); pictureBox1.Image = (Image)imageResManager.GetObject("neil"); MessageBox.Show((string)imageResManager.GetObject("msg1")); }Using satellite assemblies is great for centralising, localised resources.