FileCopy and ProgressBar

  • Thread starter SurveyorinVA via AccessMonster.com
  • Start date
S

SurveyorinVA via AccessMonster.com

Good morning-
Is there a way to display a progress bar when using the VB command FileCopy?

Thanks,
CF
 
D

Douglas J. Steele

No. The FileCopy method doesn't return any updates about how much it's
copied.

You could look into using the SHFileOperation API. That will provide the
same visual feedback Windows does (although you know how accurate that is!
<g>)

Sorry, but I don't have a clean example to which I can point you. The code
in http://www.answers.com/topic/files uses SHFileOperation, but it does more
as well.
 
Top