CV:
There is an ActiveX component (F1Book) that provides an Excel style spreadsheet. You can import delimited text into that. One problem with my version is that it only handles tab delimited text, so I create a temporary file, searching and replacing with tabs for white space...
Thanks towerbase. Delphi 6 has Tstream and hence TFileStream. The following code worked on a 3.3 Gbyte file.
function BigFileSize(Filename:string):Int64;
var
BigFileStream : TFileStream;
begin
BigFileStream := TFileStream.Create(Filename, fmOpenRead);
BigFileSize := BigFileStream.Size...
It appears there is a limit to the FileSize function in Delphi 6. The function returns a 4 byte integer that reports incorrect file sizes for very large files (e.g. on DVDs). Has this changed in Delphi 7 (say Filesize:integer, to Filesize:Int64)?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.