CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Progress Bar

  1. #1
    Join Date
    Jan 2000
    Posts
    45

    Progress Bar

    I no how to make the progress bar actually move, but how do you make it move according to how much % of installation is complete?


  2. #2
    Join Date
    Sep 1999
    Location
    Red Wing, MN USA
    Posts
    312

    Re: Progress Bar

    You would set the Max Value to 100, then you would need to calcualte the Percentage of the Install that has been done. For example, if you know how many files there are to Install, then you can work out the Value of the Progress Bar using..

    dPercentDone = (100 / iTotalFiles) * iFilesCopied


    Aaron Young
    Analyst Programmer
    [email protected]
    [email protected]
    Aaron Young
    Senior Programmer Analyst (Red Wing Software)
    Certified AllExperts Expert

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured