You cannot write to an embedded resource. These resources are part of the
Executable and are stored in the resource segment. These are read-only and
there's no way you'll be able to update them from within your assembly.
BTW, why would you want to do that?
-vJ
"Scott Williams" <sc***@krazyyak.com> wrote in message
news:81**************************@posting.google.c om...
I have a simple text document embedded into an app I am writing. I can
read from it just fine via Assembly.GetExecutingAssembly(), but trying
to write to the resulting Stream throws an exception. The CanWrite
property on the Stream is false as well. Is there a way around this or
perhaps a better method?