Page 1 of 1

How to make a Vertical ProgressBar

Posted: Mon May 24, 2010 11:01 am
by XTechVB
First create a new project

Image

* Now go to Project ---> Add Class (name it what ever you want)
* Delete all the code found there and write this one:
Code: Select all
Imports System
Imports System.Windows.Forms

Public Class MTech010VerticalProgessBar
    Inherits ProgressBar
    Protected Overloads Overrides ReadOnly Property CreateParams() As CreateParams
        Get
            Dim cp As CreateParams = MyBase.CreateParams
            cp.Style = cp.Style Or &H4
            Return cp
        End Get
    End Property
End Class

* Now build your application (or debug it)
* now when you close it you should have the vertical progress bar in your toolbox and you can drag it to your application

Image

Image

go to youtube to see it fullscreen HD
that's it if you like it visit my website for more cool tutorials
Visit my website
wahooo; wahooo; wahooo; wahooo;

Re: How to make a Vertical ProgressBar

Posted: Tue May 25, 2010 10:39 pm
by Lewis
Lol, this is so good :)

Re: How to make a Vertical ProgressBar

Posted: Wed May 26, 2010 9:55 pm
by zachman61
does it increment?

Re: How to make a Vertical ProgressBar

Posted: Thu May 27, 2010 8:01 am
by XTechVB
zachman61 wrote:
does it increment?
yes it does everything that the normal one does

Re: How to make a Vertical ProgressBar

Posted: Sun Dec 26, 2010 3:30 pm
by WALDY44
This is very good ! :)

Re: How to make a Vertical ProgressBar

Posted: Sun Dec 26, 2010 4:01 pm
by MrAksel
Nice tut! It wasn't much code either :D