|
-
October 31st, 2008, 01:52 AM
#1
how to calculate copy process remaining time?
hi,
I have made an application in that i am copying content of a folder to another folder in that i want to show my own progress dialog windows like that of windows,in that i have to show remaining time of copy process,,so how
will i calculate the remaining time of popy process.
thank you
-
October 31st, 2008, 08:01 AM
#2
Re: how to calculate copy process remaining time?
You either:
1) Guess, and form a progress bar off of the total size
2) Break the file into "Chunks", measure each chunk time, and calculate on the fly.
3) Use a library component which already does this
TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!)
2008, 2009,2010
In theory, there is no difference between theory and practice; in practice there is.
* Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions 
* How NOT to post a question here
* Of course you read this carefully before you posted
* Need homework help? Read this first
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|