System.Reflection.Assembly thisExe = System.Reflection.Assembly.GetExecutingAssembly(); System.IO.Stream file = thisExe.GetManifestResourceStream("ZedGraph.Demo.ngc4414.jpg"); // If the resource is not present it will be null or empty if (null != file) { Image image = Image.FromStream(file); }