Progress Bar Component

Posted on 2006-04-25
Last Modified: 2010-04-07
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.
Question by:Shroder
    LVL 69

    Assisted Solution

    by:Éric Moreau
    LVL 28

    Expert Comment


    Author Comment

    Thank you. I'll take a look at these.
    LVL 28

    Assisted Solution

    LVL 85

    Assisted Solution

    by:Mike Tomlinson
    LVL 4

    Accepted Solution


    - 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


    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    z = x + y – 1 6 49
    Write data from SQL to CSV file - position 1 36 2008 2 39
    Microsoft Access combo box help 2 17
    When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
    Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
    As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
    This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now