thanx for that, but unfortunately, reading anything out of the MSDE library is like reading quantum physics.
i understand how to put the bar in and how to set the minimum value and max value but when copying a file, there is no break! how do i tell it to go from one side to the other while it is copying the file?
all it does now is one box at the beginning and the whole bar filled after the file is copied. i need it to show like you see when you copy a file in windows when the bar goes rather slowly from one side to the other.
it will work if i use it to copy multiple files (so if i have 3 files i can do 1 to 3 and after each file is complete it will add another 3-4 blue boxes to the bar.) but it will not work for 1 file and when it is finished.
so both methods have more of less the same problem.
which is how to tell the bar when the file is being copied and how far has it got to go.
Well I just got an idea that may solve your problem...
Try to use the ActiveX "ProgressBar" control and upgrade the Value every second (sorry but I don't know how to count the second). Something like this.
Dim counter as Integer
"when a second as past"
counter = counter + 1
progressBar.Value = counter
if "transfert is over"
else goto flag
As you noticed, I didn't try it so you'll have to work on that... if you use it. But hey, maybe you'll have a great idea reading this.
i would say the idea given by bingpapou can be considered......well the way u put hourglass......if u keep a counter in your loops and increase it as the loops r ending and starting............and assign the value oo the progressbar.value, well i m not sure about it but its just an isea, i might be trying this in couple of days coz i have to use it in one of my coees......
You can set the TimerInterval either in code or in the properties of the Form which the code is in... If TimerInterval is set at 1000 then Timer event fires every second. Better to set it in code as it will not run when not required.