logo       

Re: Working out progress of file copy: msg#00224

lang.realbasic.beginner

Subject: Re: Working out progress of file copy

At 3:10 PM +0100 3/29/06, Mark Cooke wrote:

I've created a Thread and put the copy code into here (It just uses the
CopyFileTo method), is there any way to update a progress bar to inform
the user of the progress of the copy operation?

No, not using f.CopyFileTo. I think your basic options are (a) tell the Finder (or other-platform equivalent) to do the copy for you; it should display its own progress bar, or (b) write your own copy routine, using a couple of BinaryStreams (and something else to deal with the resource fork and metadata, if needed), so you can track progress.

Best,
- Joe

--

Joseph J. Strout
joe@xxxxxxxxxx
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise