[DUG] Setting Data File Size
Peter Hyde
peter at webcentre.co.nz
Wed Aug 26 16:54:23 NZST 2009
John asked:
> Is there a simple way to alter the size of an existing file -
> particularly to decrease the size?
Unless TFileStream has changed since I last looked in detail, you
won't find it easy.
I know that in similar cases I ended up adopting the "write to temp
file/rename-after" approach; I don't know if that would suit your
conditions adequately.
cheers,
peter
===========================================
Peter Hyde, Development Director
* http://TurboNote.com -- top-rated onscreen sticky notes
* Web development and automation: http://webcentre.co.nz
More information about the Delphi
mailing list