>Is the loProgressBar in scope when you try to set it? You may need to declare loProgressBar as private in the general area of the VB Class.
I added the following on top:
Private loProgressBar As Object
I also tried with Public.
Now, this gives me:
Run-time error '91' Object variable or With block variable not set
I have this for whatever access I am trying to do with a property of loProgressBar.