
ProgressBar Used With FileCopying Process
Anyone that uses windows should understand this, Stress anyhow when you
copy a file to another folder, or Drive a dialog comes up showing how much
longer the process will take to complete the transfer, this is what i need
vb to do. I started it by trying to open the file to be copied for Binary
access, but i find updating the progressbar with the new chunks to be sent
fails? How can i do this without using API?
Dim FileOpen
Dim FileSend as String
FileOpen = "C:\windows\Desktop\demofile.exe" ' File Contains 16 megs of
Junk for testing pupose
Open FileOpen for binary as #1
Progressbar1.max = LOF(1)
Progressbar1.value = 0
FileSend = Input(LOF(1), 1)
Anyhow hopefully someone understand what im trying to do :)