问题描述
我正在使用My.Computer.FileSystem.CopyFile()将一堆文件从
复制到另一个,并希望在
$上显示进度条每个要复制的文件的b $ b屏幕。这可能吗?
I am using My.Computer.FileSystem.CopyFile() to copy a bunch of files from
one directoy to another, and would like to display a progress bar on the
screen for each file being copied. Is this possible?
推荐答案
我通常使用File.Copy方法复制文件,然后用它来查看使用
a进度表但我找不到方法。我已经决定
最终编写我自己的File.Copy方法,它有钩子,如果需要,它将提供进度表反馈,但是还没有时间去
做到了。
如果这里的任何一个大师都可以提供
的话,我会感兴趣,也许有人已经做过了这个。
I normally use the File.Copy method to copy files and looked into using
a progress meter with it but I could not find a way. I have decided to
eventually write my own File.Copy method that has hooks that will
provide progress meter feedback if desiredm but haven''t had the time to
do it yet.
I would be interested if any of the gurus here could offer up
something, maybe someone has already done this.
Andrew
http://vbnet.mvps.org/index.html?cod...upcallback.htm
Andrew
这篇关于CopyFile()和Progress Bar?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!