Progress Bar while copying, deleting files
-
Hi, I would like to know if I can include a progress bar when I'm trying to copy files from one location to another with : 1. The file count unknown to me. 2. The size of each file is unknown to me. For the above conditions, I'm able to get the normal progress bar which shows progress between the starting and final positions repeatedly. The question is whether I can use a progress bar that shows the overall progress, just like the windows file copy progress bar... Can anyone help me on this? Thanks in advance, ramzg
-
Hi, I would like to know if I can include a progress bar when I'm trying to copy files from one location to another with : 1. The file count unknown to me. 2. The size of each file is unknown to me. For the above conditions, I'm able to get the normal progress bar which shows progress between the starting and final positions repeatedly. The question is whether I can use a progress bar that shows the overall progress, just like the windows file copy progress bar... Can anyone help me on this? Thanks in advance, ramzg
if you don't have the numeric information, you can't show progress information, all you can do is indicate it is still busy. so figure out what you mean by progress, and once you know how to do it by hand, you can create some code that does the same. :)
Luc Pattyn [Forum Guidelines] [My Articles]
Avoiding unwanted divs (as in "articles needing approval") with the help of this FireFox add-in
-
if you don't have the numeric information, you can't show progress information, all you can do is indicate it is still busy. so figure out what you mean by progress, and once you know how to do it by hand, you can create some code that does the same. :)
Luc Pattyn [Forum Guidelines] [My Articles]
Avoiding unwanted divs (as in "articles needing approval") with the help of this FireFox add-in
Hi Luc Pattyn, Thanks for the reply.. Ya, it is not possible to show progress information here... But I forgot to include this in my question... Would I be able to get the animation that windows uses (with a transparent background, so that I can place it on my form) to indicate that the files are being copied? Or do I have to create my own animation? Thanks, ramzg
-
Hi, I would like to know if I can include a progress bar when I'm trying to copy files from one location to another with : 1. The file count unknown to me. 2. The size of each file is unknown to me. For the above conditions, I'm able to get the normal progress bar which shows progress between the starting and final positions repeatedly. The question is whether I can use a progress bar that shows the overall progress, just like the windows file copy progress bar... Can anyone help me on this? Thanks in advance, ramzg
ramzg wrote:
I would like to know if I can include a progress bar when I'm trying to copy files from one location to another with : 1. The file count unknown to me. 2. The size of each file is unknown to me. For the above conditions,
If you know the source of file the what is problem with counting file or File Size.
ramzg wrote:
The question is whether I can use a progress bar that shows the overall progress, just like the windows file copy progress bar...
Use
BackgroundWorker
to show step by step process. Refcheers, Abhijit CodeProject MVP
-
Hi Luc Pattyn, Thanks for the reply.. Ya, it is not possible to show progress information here... But I forgot to include this in my question... Would I be able to get the animation that windows uses (with a transparent background, so that I can place it on my form) to indicate that the files are being copied? Or do I have to create my own animation? Thanks, ramzg
this[^] and this (Using Windows Explorer Progress Dialog In Your Application)[^] could be relevant, but the Windows dialog is a dialog form and not transparant. :)
Luc Pattyn [Forum Guidelines] [My Articles]
Avoiding unwanted divs (as in "articles needing approval") with the help of this FireFox add-in