Can I write to an embedded resource text file

  • Thread starter Thread starter JamesL
  • Start date Start date
J

JamesL

If I include a text file as an embedded resource, can I write new data to
the file and will that data be saved between shutdown and startup?

If so, what tools should I focus my attention on for writing to the file?

If not, can I copy the embedded file to a directory on the device and write
to it there? I have been trying the system.io.file.copy function but have
not figure how to identify the embedded file as the item to copy.

James
 
OK,

No I can't write to the file, how about copying the file to the device file
system, is that a no also?

James
 
That can be done. Extract it using the ManifestResourceStream and write it
out. There are examples for doing this with a DLL in the archives - by Alex
as well if memory serves.

-Chris
 
Back
Top