To make it work, you can try the following
By the way, I needed to add one progressbar on the form (and set it to visible = false), otherwise it didn't work
Main Topics
Browse All TopicsDoes anyone know how to create a progress bar at runtime in Visual Basic 6?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
With labels and shapes and some creativity, you can create just about anything.
If I can create a scrolling grid control with labels and shapes, surly you can put something together that will look something like a progress bar.
Actually, if you don't want any text displayed in the progress bar, you can do the whole thing with just shapes. After all, the basic VB progress bar is really just a box with a bunch of little boxes inside of it with the little boxes becoming visible as the process progresses. You pretty much just need to set the BackStyle of the shape to Opaque and select a BackColor. Then replicate the shape (I smell a control array) and start with all of the invisible. As the process progresses, you simply make another shape visible.
How To Create Custom Progress Bar Using Visual Basic
http://www.ask-4it.com/how
Business Accounts
Answer for Membership
by: HooKooDooKuPosted on 2009-08-19 at 00:23:42ID: 25130256
The only way I recall to dynamically create a control on a form at runtime is to create a control array. Then at runtime, you can load additional elements into the array at runtime. Basically you create one instance of the control, set the array index to zero (to force it to be an array) and just make that zero'th control a hidden control you never actually utilize.
So if you had a ProgressBar named "ProgressBar1" with an array index of zero, at runtime, you should be able to run the command "Load ProgressBar1(1)". It would initially have the same property values as the zeroth array.