|
-
October 17th, 1999, 12:38 PM
#1
How to display progress bar
In my VB program, I am executing another program and I want to display a progress bar while this program is executing its routines. So, how do you display a progress bar like the one which appears when copying a file or doing a setup.
-
October 17th, 1999, 05:46 PM
#2
Re: How to display progress bar
If you are using VB 5 or 6 right click on the controls form and select components. Select Microsoft Windows Common Controls. This will put the control on the controls form. Put in on your form. Set the Min property to you lowest count and Max to your higest count. Then as you go through the loading increment the count and put that value in. ie.
ProgressBar1.Min=0
ProgressBar1.Max=100
for x=0 to 100
ProgressBar1.Value = x
next
Hope this is what you wanted ;-)
-
October 18th, 1999, 02:37 AM
#3
Re: How to display progress bar
If you want a progress bar and some animated windows then take a look at :
http://codeguru.developer.com/vb/articles/1638.shtml
The code can be simply dropped into your project (providing you have the correct components / references setup).
Chris Eastwood
CodeGuru - the website for developers
http://codeguru.developer.com/vb
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|