Sir i want to move folder and file with progress bar in c# window form. kindly anybody give me helpful material.
Asked
Active
Viewed 1,712 times
-3
-
What do you mean with move folder and file? – Mikev Mar 18 '19 at 10:57
-
Please be a bit more specific when asking a question: *What have you tried so far with a code example?* / *What do you expect?* / *What error do you get?* **For Help take a look at "[How to ask](//stackoverflow.com/help/how-to-ask)"** – OldBoyCoder Mar 18 '19 at 11:01
-
@Mikev i am actually going to make File Explorer. and to move file from one directory to another i want to do with progressbar – Arsalan sajjad touqeer Mar 18 '19 at 11:25
1 Answers
0
Basically, you will need to use RunWorkerAsync.
RunWorkerAsync starts an execution of a background operation. ( copy files etc..)
You will need to connect your progressbar with this method.
Check this answer to have a practic example:
Running a method in BackGroundWorker and Showing ProgressBar

Mikev
- 2,012
- 1
- 15
- 27