From: Mark B on
How do I programmatically copy SpecialNote.txt from my C#'s project
resources to C:\Notes\ on user's PC at runtime?

From: Family Tree Mike on
On 5/30/2010 10:57 PM, Mark B wrote:
> How do I programmatically copy SpecialNote.txt from my C#'s project
> resources to C:\Notes\ on user's PC at runtime?

Why did you ask this here and in the vb group with a slight modification?

--
Mike
From: Mark B on
System.Text.ASCIIEncoding myEncoding = new System.Text.ASCIIEncoding();
System.IO.File.WriteAllBytes(myXMLFileLocation,
myEncoding.GetBytes(Properties.Resources.AddinUserSettingsXML));


"Mark B" <none123(a)none.com> wrote in message
news:eyWtO0GALHA.5808(a)TK2MSFTNGP02.phx.gbl...
> How do I programmatically copy SpecialNote.txt from my C#'s project
> resources to C:\Notes\ on user's PC at runtime?

From: Mark B on
Because this particular one was urgent for me and I could use
http://www.developerfusion.com/tools/convert/csharp-to-vb/ to convert any
response.

"Family Tree Mike" <FamilyTreeMike(a)ThisOldHouse.com> wrote in message
news:%23BaFj6GALHA.3840(a)TK2MSFTNGP02.phx.gbl...
> On 5/30/2010 10:57 PM, Mark B wrote:
>> How do I programmatically copy SpecialNote.txt from my C#'s project
>> resources to C:\Notes\ on user's PC at runtime?
>
> Why did you ask this here and in the vb group with a slight modification?
>
> --
> Mike