Solved

show copy progress

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
I think the Typed DataTable and Typed DataSet are very good options when working with data, but I don't like auto-generated code. First, I create an Abstract Class for my DataTables Common Code.  This class Inherits from DataTable. Also, it can …

749 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