Dim dtMark As DateTime = Now
' do your file copy here
Dim sec As Double = Now.Subtract(dtMark).TotalSeconds
' at this point, sec is double precision seconds that the copy took
Well, you would have to implement a copy mechanism that calls a
callbackfunction after every nth part of your file has been copied, so you
could gradually improve the estimate of your completion time (a simple
estimating function would be completion time = start time + (elapsed time /
n) * 100)
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.