theron324 Posted June 20, 2010 Report Posted June 20, 2010 it has been a long since i used vb and i was wondering if i wanted to press a button and have a progress bar go 1-100% how would i do this or well what would i type in as the code?
SotG Caboose Posted June 20, 2010 Report Posted June 20, 2010 progressBar1.Value = progressBar1.Maximum;
theron324 Posted June 20, 2010 Author Report Posted June 20, 2010 progressBar1.Value = progressBar1.Maximum; that didnt really help u did put that in the progress bar spot and it was underlined red
iBotPeaches Posted June 20, 2010 Report Posted June 20, 2010 Make a timer. In the timer's event do progressBar1.Value = progressBar1.Value + 1; Make sure you add a check prior to that that if value is equal to 100 don't increase, then add like a thread.sleep(200), and that should give the appearance that its moving up.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now