Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

creating a progress bar?

Status
Not open for further replies.

legos

Programmer
Jul 2, 2003
151
US
i am writing a program that drives and access form and i want to make a progress bar so i know how close a task is to completion. I want it to be based on a for loop and display what number it is on in the loop and the amount of times the loop has to run. Also if possible but not nessisary i would like to through in one of those blue bars that is a visual representation of the % complete. The status bar needs to be accesible by the user in case he wants to cancel, but does not stop the code in any way unless the cancel button is pressed. my guess is i need to create some kind of sub form.
ie.
_______________________
|______________________|
|Status: 57 out of 1034 |
| ________ |
| | cancel | |
|______________________|

Durible Outer Casing to Prevent Fall-Apart
 
I also have a sample on my site - check in the Downloads area.

hth

Ben

----------------------------------------------
Ben O'Hara "Where are all the stupid people from...
...And how'd they get so dumb?"
rockband.gif
NoFX-The Decline
----------------------------------------------
 
Hi,

I use a progress bar on a form I have, it gets upadated on each completion of a loop. I think its just a microsoft progress bar obtainable through the more controls option in the tool bar. To use it is very simple, you just set the max and increment each time you loop.

ie.

MyForm.MyProgressBar.Max = YourLimit

MyForm.MyProgressBar.Value = i+1

At thats it.

Hope this helps.

Mordja
 
Hi,

I use a progress bar on a form I have, it gets upadated on each completion of a loop. I think its just a microsoft progress bar obtainable through the more controls option in the tool bar. To use it is very simple, you just set the max and increment each time you loop.

ie.

MyForm.MyProgressBar.Max = YourLimit

MyForm.MyProgressBar.Value = i+1

At thats it.

Hope this helps.

Mordja
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top