10 September 2011

progressbar di vb6

1.tambah kan componen windows common controls 6.0 (SP 6)

2.tambahkan timer dengan interval (100)
3.klik dua kali pada timer1
script:
If ProgressBar1.Value = 100 Then
ProgressBar1.Value = 0
Else
ProgressBar1.Value = Val(ProgressBar1.Value) + Val(1)
End If


4.penampakan:


0 komentar:

cursor: url("http://i137.photobucket.com/albums/q210/kyawsawdin/FireRed.gif"), default;

ShoutMix chat widget