Adblock breaks this site

How to use progress bars?

Discussion in 'Programming General' started by Bbri06, Mar 17, 2007.

  1. Bbri06

    Bbri06 Apprentice

    Joined:
    May 21, 2006
    Posts:
    911
    Referrals:
    1
    Sythe Gold:
    0
    How to use progress bars?

    Can anyone explain to me how to use progress bars in Microsoft Visual Basics 2005 Express Edition? It would be greatly appreciated.
     
  2. speljohan

    speljohan Guru
    Visual Basic Programmers

    Joined:
    Apr 24, 2005
    Posts:
    1,450
    Referrals:
    3
    Sythe Gold:
    0
    How to use progress bars?

    in what way do you want to use them? You set the value with the "Value" property as integer.
     
  3. Bbri06

    Bbri06 Apprentice

    Joined:
    May 21, 2006
    Posts:
    911
    Referrals:
    1
    Sythe Gold:
    0
    How to use progress bars?

    I would like to use them for the progress of a loading webpage.
     
  4. speljohan

    speljohan Guru
    Visual Basic Programmers

    Joined:
    Apr 24, 2005
    Posts:
    1,450
    Referrals:
    3
    Sythe Gold:
    0
    How to use progress bars?

    well, then there must be some function in the webbrowser control to get progress or something. Then you just use it that way. It all depends on the web browser API.
     
  5. Skeletron

    Skeletron Guest

    Referrals:
    0
    How to use progress bars?

    Call the webbrowserprogesschangedeventargs in the system.windows.forms folder. Here is a example:

    It works well. But this code will catch the progress percentage of the webbrowser and apply it to a label and a progressbar. In this case, you do not have to use the progressbar1.maximum since you are calling the percentage from the e.
     
< [Source] Basic History system using the computer registry | Favorites >


 
 
Adblock breaks this site