Help!
I have tried to do the following:

access progressBar from a class:

in the class:

FIV.Form1 updbar = new FIV.Form1();
updbar.UpdateProgressBar(newValue);


In the Form1 class:

UpdateProgressBar(int i)
{
progressBar1.Value = i;
}

It will not give me an error, but it will not update the progressbar either! Means it will stay with it's old values. I don't understand this, because in the debug window I can see how the values for the progressBar1 change.

And: I've tried to do it with a reference to the object etc etc, nothing will work.