Madelene Kozuch
Wednesday, July 20, 2011
Trouble overwriting files C#?
I think your problem is FileMode.OpenOrCreate. That will leave some of whatever was in the file before still there if it already exists and what you overwrite it with is shorter than it was before. Try using FileMode.Create instead.
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment