|
-
Oct 17th, 2006, 11:25 PM
#1
Thread Starter
PowerPoster
total progress reports
i know how to increase a progress bar for each item I am going to be performing my actions on (like file copy)
but overall how can I find out the progress?
the way its working now is:
create an array of file extensions I wish to find of files
foreach currentExtention in the extentions
get files in specific directory of the extension current extension
foreach current file in theFiles found
increase progBar
next
next
but what about doing overall progress?
one way was to do that but get the total number of files found, set that as a maxvalue of the totalProgBar then increment that on each file copy but that would be bad practice
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
|