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
Newer Post
Older Post
Home
View mobile version
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment