Dominik Fusina - The Captain wrote:
> In the same subject, I would like to know if it's possible to know the
> number of "octets" writed in real time by the "CopyFileTo" function ?
> You know, it's sometimes (particulary when the file is big) very useful to
> know the size of datas in writing and - for the user - display a bar.
I doubt it, since the CopyFileTo command is somewhat atomic in RB - it
halts your application (or thread) until the copy is done. So if you
want to get progress information, I guess you have to write your own
copy method. Not too hard unless you're including the resource fork, too ;)
Cheers,
Frank+++
--
Günter Schmidt & Co. oHG
Frank Bitterlich eMail: bitterlich at gsco dot de
Schlosserstr. 2-4 WWW: http://www.gsco.de/gsco
D-60322 Frankfurt Tel.: 069 / 156809-29
GERMANY Fax: 069 / 156809-28
|