Joel,
if you do not know a priori how many files you are going
to transfer, the progress bar is not the right control for you,
because it will never show the correct information.
Consider using a simple label, where you can show the
number of files transferred up to that moment.
If it is going to take a long time, it is also better to change
the cursor shape. Windows comes with a lot of cool
animated cursors that are meant for this purpose.
m.
> -----Original Message-----
> From: Zadoyen, Eva [SMTP:EZadoyen@s...]
> Sent: Thursday, June 28, 2001 9:45 AM
> To: professional vb
> Subject: [pro_vb] FW: [activex_data_objects] RE: Progress bar
>
>
> I think this thread belongs here.
> -----Original Message-----
> From: Joel Hollender [mailto:jhollender@V...]
> Sent: Thursday, June 28, 2001 12:28 PM
> To: ActiveX_Data_Objects
> Subject: [activex_data_objects] RE: Progress bar
>
>
> Thank you for your help and time.
> my problem is I am transferring files to a FTP site and there is no way I
> could know how many files we are going to transfer so there is no way to
> set
> the .max value. if you have any information please tell about this
>
> Thank you again I really appreciate your help
>
> -----Original Message-----
> From: Zadoyen, Eva [mailto:EZadoyen@s...]
> Sent: Thursday, June 28, 2001 12:19 PM
> To: ActiveX_Data_Objects
> Subject: [activex_data_objects] RE: Progress bar
>
>
> Joel,
> I have some info that might help you.
> There are two properties that you need to use - .Max and .Value.
> Set your .Max to how many files need to be downloaded and then as you
> download them - change .Value
>
>
> ProgressBar.Max=AllFilesCount
> ProgressBar.Value =0
> For lX = 1 To AllFilesCount
> BlablaBla
> ProgressBar.Value = lX
> Next lX
>
>
> Works for me.
>
> Eva
>
> -----Original Message-----
> From: Joel Hollender [mailto:jhollender@V...]
> Sent: Tuesday, June 26, 2001 3:08 PM
> To: ActiveX_Data_Objects
> Subject: [activex_data_objects] Progress bar
>
>
> To all:
> could anyone please give me the basic syntax how to use the progress bar
> control in V.B. I am transferring a lot of files from my local server to a
> FTP site and I would like to show the user where he is up to and the
> amount
> of files he transferred so far
>
> Thank you in advanced
>
> leave-activex_data_objects-523004A@p...
>