[TUT] How to make a cool progress bar ! [TUT]

Posts 1–7 of 7 · Page 1 of 1
[TUT] How to make a cool progress bar ! [TUT]
Hello ! Do you want a cool and simply progress bar ?

Well here is an easy tutorial.

Pictures:

1.



2.



3.



Tutorial

1. Open Visual Basic 2008
2. Make new Project and call it whatever you want. Progress bar etc.
3. Now you will need to add some stuff:
- 3 Buttons
- 1 Progress Bar
- 1 Timer
4. Add some cool colors that you want
5.
Fixed Single and False Maximum box !
6. Now the coding. Just double click the buttons and the timer.

Timer Code:
Code:
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
        ProgressBar1.Increment(1)
    End Sub
Button 1 Code: [Start]
Code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Timer1.Start()
        MsgBox("You have started the progressbar")
    End Sub
Button 2 Code: [Stop]
Code:
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
        Timer1.Stop()
        MsgBox("You have stopped the progressbar")
    End Sub
Button 3 Code: [Close]
Code:
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
        Me.Hide()
    End Sub
7. If you not happy with the design then redesign by your own!

I hope you will enjoy the Progress Bar!

If you got some problem :
- Leave a comment on this post
- Send me a PM

Credits to:
- Mizzer2 [Me]
Even tho this is, in this case, useless, thanks for sharing.
Quote Originally Posted by Blubb1337 View Post
Even tho this is, in this case, useless, thanks for sharing.
i know its useless, its for the noobs
Huh. Easy tutorial. This was the first thing i learnt in VB >.<
I think we already have a tutorial like this, but thanks for sharing anyways.
Thanks for sharing. Its really just a tutorial on using a progressbar, simple and posted before, but again, thanks for sharing
Hehe :P No problem ;D
Posts 1–7 of 7 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?