Progress Bar in Visual Basics

G

Guest

I would like to show the progress of an application using the progress bar in
visual basics using the timer.Please help me.
Thanks in advance.
 
R

Rakesh Rajan

Hi Kurien,

Add a timer and progress bar control into your form.

Set the required value for the Timer control for it's Interval property, and
set the Enabled property to true.

Add a variable in your form class which will represent the progress value.

Handle the Timer.Tick event, within which you will increment the progress
value by 1. Check whether the val is greater than the Max property of the
Progress Bar. If it isn't, set the Value property of the ProgressBar to this
value.

Run the app :).

Check out links in MSDN on using ProgressBar and Timer control for examples.

HTH,
Rakesh Rajan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top