jeet p

jeet p

  • NA
  • 19
  • 0

file close or overwrite

Jul 3 2009 6:57 AM
Hi all,

I have one windows service made in C#. I want My service to create CSV file every two minutes... but it should overwrite the existing file every two minutes. but whenever I try - it says file is already open - while I am sure that file is processed during those elapsed two minutes.. How do i programmatically close the file or overwrite the same. My file creation is through windows utility CSVDE (so have no control over creation except for the time and name!)


please suggest, thanks,
Jeet

Answers (2)