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 _______________________________________________ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: unsubscribe