http://www.pscode.com has great samples.
2007-01-31 06:52:24
·
answer #1
·
answered by Richard H 7
·
0⤊
0⤋
First, you must add reference Microsoft Visual Basic Common Controls 6.0
Drag and drop Progress Bar (PB) to the form
You have to set this values:
Private Sub Form_Load()
With ProgressBar1
.Max = 5000
.Min = 0
.Value = 0
End With
End Sub
Then you add the event for increase the PB
Private Sub Command1_Click()
'Set the Max
ProgressBar1.Max = 50500
For i = 0 To ProgressBar1.Max
'PB Actual Value
ProgressBar1.Value = i
' Set Percentage in Label
Label1 = CLng((ProgressBar1.Value * 100) / ProgressBar1.Max) & " %"
DoEvents
Next
End Sub
Hope it helps, there is a lot of reference in Pages
2007-01-31 03:18:55
·
answer #2
·
answered by Arthur Knight 2
·
5⤊
0⤋
Check out the following website it has everything you need to know about a progress bar vb6 including a online tester:
http://www.vbaccelerator.com/home/VB/Code/Controls/Progress_Bar/Progress_Bar_Control/article.asp
I hope that this answers your question?
2007-01-31 03:15:48
·
answer #3
·
answered by matt1 2
·
0⤊
0⤋
Try planet-source-code.com
2007-01-31 03:11:46
·
answer #4
·
answered by sethsdadiam 5
·
1⤊
0⤋
business center is the biggest IT market of beijing china ï¼i want recommend the name brand goods ClavierãEarphoneãMouseãMEMORY CARDSãCard Reader Writer to you.my website is http://www.llpshop.com ,if you have interested in ,please check it . the business MSN is :llpshop_zol@hotmail.com the business email is :llpshop_zol@hotmail.com please don't mistake this times,if break in on you ,please understanding.thank you .
2007-02-02 23:44:05
·
answer #5
·
answered by jianfeng 1
·
0⤊
0⤋