Click here to Skip to main content
15,887,585 members
Home / Discussions / C#
   

C#

 
QuestionHow to preview setup dialogs in setup project ? Pin
hdv21223-Jan-08 1:29
hdv21223-Jan-08 1:29 
AnswerRe: How to preview setup dialogs in setup project ? Pin
hdv21223-Jan-08 10:43
hdv21223-Jan-08 10:43 
GeneralRe: How to preview setup dialogs in setup project ? Pin
Jimmanuel23-Jan-08 11:22
Jimmanuel23-Jan-08 11:22 
QuestionTree View Pin
Aparna.B23-Jan-08 1:10
Aparna.B23-Jan-08 1:10 
GeneralRe: Tree View Pin
Justin Perez23-Jan-08 3:57
Justin Perez23-Jan-08 3:57 
GeneralRe: Tree View Pin
Aparna.B23-Jan-08 16:40
Aparna.B23-Jan-08 16:40 
GeneralRe: Tree View Pin
Justin Perez24-Jan-08 1:59
Justin Perez24-Jan-08 1:59 
Generalstreamwrite Pin
arkiboys23-Jan-08 0:55
arkiboys23-Jan-08 0:55 
Hi,
I am using the following code to write to a .csv file.
Each time this is run, a new file is created, but the old one gets deleted.

I would like to add a new file each time so the files get added to the files folder.

I have tried FileMode.Append, FileMode.Append but none of them do what I am after

Thanks

private const string dir = @"C:\Files\";
private const string path = dir + "Securities.csv";

// create the output stream for a text file
StreamWriter textOut =
new StreamWriter(
new FileStreampath, FileMode.Create, FileAccess.Write));
GeneralRe: streamwrite Pin
darkelv23-Jan-08 0:59
darkelv23-Jan-08 0:59 
GeneralRe: streamwrite Pin
arkiboys23-Jan-08 1:14
arkiboys23-Jan-08 1:14 
GeneralRe: streamwrite [modified] Pin
darkelv23-Jan-08 1:37
darkelv23-Jan-08 1:37 
AnswerRe: streamwrite Pin
arkiboys23-Jan-08 2:05
arkiboys23-Jan-08 2:05 
GeneralRe: streamwrite Pin
Thomas Stockwell23-Jan-08 8:09
professionalThomas Stockwell23-Jan-08 8:09 
QuestionHow to update/delete outlook appointments Pin
NewToAspDotNet23-Jan-08 0:17
NewToAspDotNet23-Jan-08 0:17 
AnswerRe: How to update/delete outlook appointments Pin
Jimmanuel23-Jan-08 3:12
Jimmanuel23-Jan-08 3:12 
Questionhow can i add a new node in treeview programatically ? and save changes? Pin
samidhas23-Jan-08 0:01
samidhas23-Jan-08 0:01 
GeneralRe: how can i add a new node in treeview programatically ? and save changes? Pin
led mike23-Jan-08 4:40
led mike23-Jan-08 4:40 
GeneralRe: how can i add a new node in treeview programatically ? and save changes? Pin
ChrisKo23-Jan-08 11:36
ChrisKo23-Jan-08 11:36 
GeneralMultiple Config Files Pin
#realJSOP23-Jan-08 0:01
mve#realJSOP23-Jan-08 0:01 
GeneralRe: Multiple Config Files Pin
Ed.Poore23-Jan-08 1:59
Ed.Poore23-Jan-08 1:59 
GeneralRe: Multiple Config Files Pin
darkelv23-Jan-08 2:00
darkelv23-Jan-08 2:00 
GeneralRe: Multiple Config Files Pin
#realJSOP23-Jan-08 3:28
mve#realJSOP23-Jan-08 3:28 
GeneralRe: Multiple Config Files Pin
Pete O'Hanlon23-Jan-08 4:24
mvePete O'Hanlon23-Jan-08 4:24 
GeneralRe: Multiple Config Files Pin
#realJSOP23-Jan-08 5:04
mve#realJSOP23-Jan-08 5:04 
Questionhow to make call for play recorded .wav file in linux asterisk server using asterisk.net? Pin
patel_amit22-Jan-08 23:19
patel_amit22-Jan-08 23:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.