How do I make a custom progress bar?

Do you need something made? then ask in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
27 posts Page 1 of 3
Contributors
User avatar
lawrence12
Dedicated Member
Dedicated Member
Posts: 73
Joined: Tue Mar 02, 2010 3:21 am

Okay so I wanted to make an application with a progress bar, well progress bar is already included but I dont like how it looks, so I made this Topic and I hope you can show me how to make a custom progress bar. wahooo;
User avatar
lawrence12
Dedicated Member
Dedicated Member
Posts: 73
Joined: Tue Mar 02, 2010 3:21 am

Im serious, I hate the visual basic progress bar :| .
User avatar
mandai
Coding God
Coding God
Posts: 2585
Joined: Mon Apr 26, 2010 6:51 pm

Posting the same request 3 times will not get you a quicker or better answer.
Code: Select all
    Dim gfx As Graphics
    Dim percent As Integer = 0

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        PictureBox1.BorderStyle = BorderStyle.FixedSingle
        PictureBox1.Image = New Bitmap(PictureBox1.Width, PictureBox1.Height)
        gfx = Graphics.FromImage(PictureBox1.Image)
    End Sub

    Private Sub btnIncrease_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnIncrease.Click
        percent += 10
        gfx.FillRectangle(Brushes.Black, New RectangleF(0, 0, PictureBox1.Width / 100 * percent, PictureBox1.Height))
        PictureBox1.Refresh()
    End Sub
User avatar
lawrence12
Dedicated Member
Dedicated Member
Posts: 73
Joined: Tue Mar 02, 2010 3:21 am

Thank you mandai for notifying me that I made 3 topics.
I didn't know that, maybe I was clicking post too much lmao;
User avatar
lawrence12
Dedicated Member
Dedicated Member
Posts: 73
Joined: Tue Mar 02, 2010 3:21 am

O_O, Uh picture box?. I thought it was custom progressbar :?
User avatar
lawrence12
Dedicated Member
Dedicated Member
Posts: 73
Joined: Tue Mar 02, 2010 3:21 am

A Custom Progress Bar like the custom skin that codie made.
User avatar
zachman61
VIP - Donator
VIP - Donator
Posts: 1892
Joined: Wed Dec 16, 2009 9:56 pm

please dont spam your topic it makes you look unprofessional also mandai's code does indeed work
Nailing my feet to the floor is easier than using my own muscles to balance, but you don't see me doing that :)
User avatar
lawrence12
Dedicated Member
Dedicated Member
Posts: 73
Joined: Tue Mar 02, 2010 3:21 am

zachman61 wrote:
please dont spam your topic it makes you look unprofessional also mandai's code does indeed work
It waz an accident xD
Last edited by lawrence12 on Sun Jun 06, 2010 12:18 am, edited 1 time in total.
User avatar
lawrence12
Dedicated Member
Dedicated Member
Posts: 73
Joined: Tue Mar 02, 2010 3:21 am

:|
User avatar
lawrence12
Dedicated Member
Dedicated Member
Posts: 73
Joined: Tue Mar 02, 2010 3:21 am

:shock: wow you guys must be really busy today.
27 posts Page 1 of 3
Return to “Tutorial Requests”