|
-
Jan 16th, 2007, 06:43 AM
#1
Thread Starter
Addicted Member
[2005] progress bar when copying a directory
how can i do it? without having to recursively count all files and monitoring how much files have been copied?? i want to just use fileio.filesystem.copydirectory and get a progress bar for it...is it possible??
-
Jan 16th, 2007, 06:53 AM
#2
Fanatic Member
Re: [2005] progress bar when copying a directory
You will need to give a max and min value so i cant see anyway of getting around it without calculating the number of files. If nothing is going to be done while the copying is in progress then i think you can use the wait cursor and just call it before the copying is about to begin and then setting it back to default after the copying has finished.
Hope this helps
If your problem has been solved then please mark the thread [RESOLVED].
If i have helped then please Rate my post 
-
Jan 16th, 2007, 07:42 AM
#3
Re: [2005] progress bar when copying a directory
Please mark you thread resolved using the Thread Tools as shown
-
Jan 16th, 2007, 07:59 AM
#4
Re: [2005] progress bar when copying a directory
CopyDirectory is an overloaded function so you can actually set it to show a standard copy dialog like the ones in the explorer.
VB Code:
FileIO.FileSystem.CopyDirectory("h:\source", "h:\destination", Microsoft.VisualBasic.FileIO.UIOption.AllDialogs)
-
Jan 16th, 2007, 08:39 AM
#5
Thread Starter
Addicted Member
Re: [2005] progress bar when copying a directory
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
|