Re: Set FileSize
- From: Mattias Sjögren <mattias.dont.want.spam@xxxxxxxx>
- Date: Sat, 17 Sep 2005 00:06:17 +0200
>I am looking to set the size an existing file. I have a file that I am
>storing data in, in a binary format. Upon deletion of data, I reorder the
>data to the top of the file. Now that I have all of this free space, how do
>I resize the file?
FileStream.SetLength
Mattias
--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
.
- Follow-Ups:
- Re: Set FileSize
- From: AMDRIT
- Re: Set FileSize
- From: AMDRIT
- Re: Set FileSize
- From: AMDRIT
- Re: Set FileSize
- References:
- Set FileSize
- From: AMDRIT
- Set FileSize
- Prev by Date: Re: resource string into a DLL
- Next by Date: Physical and Virtual Memory
- Previous by thread: Set FileSize
- Next by thread: Re: Set FileSize
- Index(es):