Uploading bar - WeOnlyDo Discussion board

Uploading bar (General questions)

by Jlp, Friday, September 03, 2004, 14:31 (7187 days ago)

I try to use your HTML example with a 3Gb file in order to prove that we can use this activeX in our project. It works correctly but the progress bar doesn't work properly(), and that's important for us because we show it to our clients.

Your code:
...
Sub wodFtpDLX1_Progress(Position, Total)
ProgressBar1.value = Position <-- it doesn't work when you try
End Sub to dowload something bigger

Can you help me please?
Regards

Jlp

Re: Uploading bar

by wodSupport, Friday, September 03, 2004, 14:46 (7187 days ago) @ Jlp

Jlp,

with 3gb file? Yes, that will not work. I think ProgressBar Max cannot be larger than few MB - I am not sure which value is it exactly.

What I suggest you do is to calculate percentage of download by yourself, and then provide this value to ProgressBar.Value. Of course, in that case, ProgressBar.Max would be fixed 100.

Does this make sense? In such cases you don't care how big/small file is.

Kreso