Solved

show copy progress

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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

744 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

14 Experts available now in Live!

Get 1:1 Help Now