Hey all!

I got a little problem with my progressbar.
I convert the text of a textbox to the value of the progressbar.
First I tried in milliseconds, that worked, but the max of millisecond = 999, I took the maximum of the progressbar to 1000, but when I debugged the program, it keeps getting to 50% of the progressbar. (Every 1000 milliseconds).

Now I'm gonna try it with just seconds, Maximum set to 60.
code:

Code:
toolStripProgressBar1->Value = Convert::ToInt32(lblFixedGrabSecond->Text);
This code gives me a yellow error messagebox thingy when trying to debug.

Image:

So my questions are,

Either how can I fix the 50% load of the progressbar while using the MilliSeconds thingy.
Or how to fix the yellow error message thingy.