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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Sriram Ramani144 reputationPosted Nov 3, 2009, 9:09 PM EST
sandesh j14 reputationPosted Nov 15, 2009, 11:34 PM EST
after that you write a below code inside that Progress bar..
progressBar1.Increment(5);
progressBar1.PerformStep();
label1.Text = progressBar1.Value + "%completed";
Hirendra SisodiyaRank #258 · 9.8K reputationPosted Nov 18, 2009, 6:55 PM EST
http://www.vbdotnetheaven.com/UploadFile/mahesh/ProgressBar04262005051817AM/ProgressBar.aspx
zoren baybayan19 reputationPosted Jan 13, 2010, 5:05 PM EST
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