Re: Faster method needed - reading text files stored on local network
by Hans-Peter Diettrich <DrDiettrich1@[EMAIL PROTECTED]
>
Feb 21, 2008 at 09:28 PM
fokrogh@[EMAIL PROTECTED]
wrote:
> Unfortunately, this code works VERY slow. However, reading files from
> CDROM works very fast.
When your network is that slow, and your files are big, you better read
only the begin of the file.
fileStream.BlockRead(...);
fileData.LoadFromStream(fileStream);
if fileData.count < 6 then ... //read more
DoDi