Nenita Liberato
Wednesday, August 10, 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
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment