Tutorials Navigation

Tutorials :: New :: Popular :: Top Rated

Tutorials: 18,357 Categories: 12

Total Tutorial Views: 42,555,843

[VB.NET] How to use a progress bar

Tutorial Name: [VB.NET] How to use a progress bar  

Category: PC Tutorials

Submitted By: Maj

Date Added:

Comments: 4

Views: 1,607

Related Forum: PC Building Forum

Share:

Using a timer can be tricky in Visual Basic. So here's a guide to show you how!




1. Add a timer, button and a progress bar to a form like below
[ Register or Signin to view external links. ]

2. Edit the timers code to

ProgressBar1.Increment(+1)


You can change the value. This means that every time the timer ticks (100ms) it will go up by 1%. However you can play with the timer and increment settings to find one to suit

3. Edit your button text to

Timer1.Start


Your all done! Now debug your application and give it a test. It should look something like below

[ Register or Signin to view external links. ]

Ratings

Current rating: 2.00 by 2 users
Please take one second and rate this tutorial...

Not a Chance
1
2
3
4
5
6
7
8
9
10
Absolutely

Comments

"[VB.NET] How to use a progress bar" :: Login/Create an Account :: 4 comments

If you would like to post a comment please signin to your account or register for an account.

TomPosted:

really well done tutorial man. sucks you quit making them :(

ZydrinPosted:

Seems real easy to setup, thanks Maj.

HaloPosted:

Seems pretty easy to do, awesome.

MickersPosted:

Effective and easy tut, thanks!