Loading...

Visual Studio 2012 Tutorial-Beginners

114,953 views

Loading...

Loading...

Loading...

Rating is available when the video has been rented.
This feature is not available right now. Please try again later.
Published on Nov 14, 2012

This Tutorial Is About How To make a ProgressBar.
Here Are The Codes:
BUTTON1

Timer1.start
this tells vb that when the button is clicked, it starts the timer.

BUTTON2

Timer1.stop

Tells VB that when the button is clicked, the timer is stopped.

BUTTON3

timer1.stop
progressbar1.increment(-1)
progressbar1.value = progressbar1.mininum

Pretty self explanatory, tells the timer to stop, and sets the value of the progress bar to 0.

BUTTON4

MsgBox("Hello World")

When clicked, gives a message box saying "Hello World"

TIMER1

ProgressBar1.Increment(1)
if ProgressBar1.Value = ProgressBar1.maximum then
Button4.enabled = true

This tells the program's progress bar to make that green thing go up. Remember how we set Enabled = False in the properties? Button4.enabled = True tells it to set it so that it can be interacted with.


Here Is The Download(By Me):http://adf.ly/Fepqh
Download Above is The Program ProgressBar so you can see the example.

Loading...

When autoplay is enabled, a suggested video will automatically play next.

Up next


to add this to Watch Later

Add to

Loading playlists...