A question about progress bars

Discussion in 'Code Snippets and Tutorials' started by Fexxel, Mar 18, 2009.

Thread Status:
Not open for further replies.
  1. Fexxel

    Fexxel Level IV

    Joined:
    Jan 28, 2009
    Messages:
    959
    Likes Received:
    26
    So I put a status bar into my App, but I was wondering how exactly to code it to show the progress through how many links the app has visited? Or does it do this automaticly? I'm using VB.net.
    Thanks!
    Fexxel
     
  2. tharoux

    tharoux Level IV

    Joined:
    Dec 30, 2006
    Messages:
    2,733
    Likes Received:
    126
    Location:
    In front of my PC, Montreal
    to increase the bar, you have to use ".vallue = xxx" (from 0 to 100).
    the easy way (and hardcoded one) is to calculate how much link you have and increase accordingly between each request by hand.
     
  3. Fexxel

    Fexxel Level IV

    Joined:
    Jan 28, 2009
    Messages:
    959
    Likes Received:
    26
    So "w.value = 1" and 1 is the smallest I can make it? Because there are hundreds of links....?
    Got this error: Error 43 Leading '.' or '!' can only appear inside a 'With' statement. C:\Users\Carter\Desktop\NeoLogin - Updated\NeoLogin - Updated\Form1.vb 170 9 Sponsor Doer
     
  4. tharoux

    tharoux Level IV

    Joined:
    Dec 30, 2006
    Messages:
    2,733
    Likes Received:
    126
    Location:
    In front of my PC, Montreal
    not W.
    if you want to change the value of the progress bar, you need to call it...
    NameOfYourProgressBar.value = 50

    this will put the progress bar halfways through
     
Thread Status:
Not open for further replies.