Hi.
I have an app. that uses a function. This function returns an integer value of processed documents. So, my problem is: I use a ProgressBar to show the number of processed documents.

Code:
Proc.ProgressBar1.Value = Motor.Process(... ... ...
The "Motor.Process" function is returning integer values but I can't refresh the progress bar. I'm using DoEvents before and after the function call.

Thanks