A
Annette Miller
Hi All,
I'm just wondering if someone can show me how to write a stream to a file.
Specifically I have a file (bitmap) as an embedded resource in my app i.e.
"MyApp.Resources.BitmapTemplate.bmp" and was wondering how I can write it
to, say "C:\temp.bmp" from the following
Stream stream =
System.Reflection.Assembly.GetExecutingAssembly().GetManifestResourceStream("MyApp.Resources.BitmapTemplate.bmp");
Cheers!
I'm just wondering if someone can show me how to write a stream to a file.
Specifically I have a file (bitmap) as an embedded resource in my app i.e.
"MyApp.Resources.BitmapTemplate.bmp" and was wondering how I can write it
to, say "C:\temp.bmp" from the following
Stream stream =
System.Reflection.Assembly.GetExecutingAssembly().GetManifestResourceStream("MyApp.Resources.BitmapTemplate.bmp");
Cheers!