How to use ProgressBar?
How I can use progressbar before opening a form.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
zoren baybayanPosted Jan 13, 2010, 10:05 PM
in form_load event type this code
Progressbar1.maximum=100 'put maximum value to 100
Progressbar1.minimum= 0 ' put minimum value to 0
'in this case you have now max and min value so wats next...
if you want to make it manually load then
put this code in buttonAddProg
if Progressbar1.value >=100 then
msgbox"Cant Add progress"
else
Progressbar1.value +=5 'increase value by 5 everytime it clicks
end if
To decrese the progress make a code same to upper code then change the + sign to -
for any questions please mail me at [email protected]
hope it helps
Hirendra SisodiyaPosted Nov 18, 2009, 11:55 PM
http://www.vbdotnetheaven.com/UploadFile/mahesh/ProgressBar04262005051817AM/ProgressBar.aspx
sandesh jPosted Nov 16, 2009, 4:34 AM
after that you write a below code inside that Progress bar..
progressBar1.Increment(5);
progressBar1.PerformStep();
label1.Text = progressBar1.Value + "%completed";
Sriram RamaniPosted Nov 4, 2009, 2:09 AM