Solved

show copy progress

Posted on 2006-10-24
3
164 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
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…
Concerto provides fully managed cloud services and the expertise to provide an easy and reliable route to the cloud. Our best-in-class solutions help you address the toughest IT challenges, find new efficiencies and deliver the best application expe…
Need to grow your business through quality cloud solutions? With everything required to build a cloud platform and solution, you may feel like the distance between you and the cloud is quite long. Help is here. Spend some time learning about the Con…

914 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now