Solved

show copy progress

Posted on 2006-10-24
3
165 Views
Last Modified: 2012-05-05
I am using the command:
My.Computer.FileSystem.CopyFile(foundFile, strcopydes & fileName)

Some files I copy are large and it locks up my script until the files are copied.  Is there a way I can show a progress bar of the copy?

Thanks, Chad
0
Comment
Question by:chadmanvb
3 Comments
 
LVL 85

Accepted Solution

by:
Mike Tomlinson earned 125 total points
ID: 17800953
See the UIOption Enumeration:
http://msdn2.microsoft.com/en-us/library/ms172907.aspx

See My.Computer.FileSystem.CopyFile:
http://msdn2.microsoft.com/en-us/library/36xbexyf.aspx

So...

    My.Computer.FileSystem.CopyFile(foundFile, strcopydes & fileName, FileIO.UIOption.AllDialogs)
0
 
LVL 15

Expert Comment

by:JackOfPH
ID: 17801309
0
 

Author Comment

by:chadmanvb
ID: 17806042
Worked great!  Thanks, Chad
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question