Progress Bar Component

I wanted to see if there was an open source VB (6) progress bar with percentage display that I could use for my own vb application.
Who is Participating?

- create a form
- create a shape (shape1)
- size shape 1 as the total width (representing 100%)
- change color to whatever you want

- create a shape (shape2)
- format shape2 fillstyle as CERO (solid) , change color to whatever you want
create a label (label1)
label 1 must be located where you want the progress to be displayed (10% 20%...) and formatted accordingly

sub Progress(partial as long, total as long)
   t = long
   t = partial / total
   shape2.width = t * shape1.width
   label1.caption = format("##0.00",t) & " %"
end sub


shape2.width = 0

end sub

no control, no links, not much resources used.

hope this helps

Éric MoreauSenior .Net ConsultantCommented:
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

ShroderAuthor Commented:
Thank you. I'll take a look at these.
Mike TomlinsonMiddle School Assistant TeacherCommented:
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.