-
March 19th, 2012, 11:24 AM
#1
Progressbar->Value Convert::ToInt(textbox->Text); problem!
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.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|