Question1-Progress Bars (My other thread was hijacked by lettuce)



  •  how do i use the progress bars with a constant? I want the progress bar to use a variable defined as an integer for the value.It will be runningoutside of an if then loop that will set its value.



  • Progressbar with a constant? WTF

    Use the progressbar.increment to show progression

    Use progressbar.value to get the value



  • @Teh said:

    Progressbar with a constant? WTF

    Use the progressbar.increment to show progression

    Use progressbar.value to get the value

    thanks...I was trying to use progressbar.value to set it's value. (you can all laugh at me now)...


  • @Steeldragon said:

     how do i use the progress bars with a constant? I want the progress bar to use a variable defined as an integer for the value.It will be runningoutside of an if then loop that will set its value.

     

    Please include the answer to all these questions when asking something:

    What language are you talking about?  What progress bar are you talking about?   What are you trying to do?  What is the code you are using?  What is happening when you run it?



  • @tster said:

    @Steeldragon said:

     how do i use the progress bars with a constant? I want the progress bar to use a variable defined as an integer for the value.It will be runningoutside of an if then loop that will set its value.

     

    Please include the answer to all these questions when asking something:

    What language are you talking about?  What progress bar are you talking about?   What are you trying to do?  What is the code you are using?  What is happening when you run it?

    Fine, you want to know what i was attempting to do? i'll tell you, though excuse me for any mispellings considering i don't have the source code on me.

    [code]imports system.drawing.drawing2d.brushes
    public form1.vb

    private x as integer

    private y as integer

    private tercolorbrush as brush = new brush(solidbrush.fromargb{})
    private w as integer
    private ht as integer
    private prog as integer =0
    private cnst as integer = 0

    ---------------------------------snip a few lines and button click command--------------------------------------------
    'terprog is the system name of the progress bar
    terprog.value(prog)
    if cnst = 0 then
    prog=33
    ---------------------------------------none of the rest was implemented yet-------------------------------------

    [/code]


  • Discourse touched me in a no-no place

    @Steeldragon said:

    @tster said:

    @Steeldragon said:

     how do i use the progress bars with a constant? I want the progress bar to use a variable defined as an integer for the value.It will be runningoutside of an if then loop that will set its value.

     

    Please include the answer to all these questions when asking something:

    What language are you talking about?  What progress bar are you talking about?   What are you trying to do?  What is the code you are using?  What is happening when you run it?

    Fine, you want to know what i was attempting to do? i'll tell you, though excuse me for any mispellings considering i don't have the source code on me.

    It would appear that the hidden reference to "How to ask questions the smart way" has not only eluded you, but failed to come close enough to warrant a 'rim-shot' reference.



  •  @Steeldragon said:

    @tster said:

    @Steeldragon said:

     how do i use the progress bars with a constant? I want the progress bar to use a variable defined as an integer for the value.It will be runningoutside of an if then loop that will set its value.

     

    Please include the answer to all these questions when asking something:

    What language are you talking about?  What progress bar are you talking about?   What are you trying to do?  What is the code you are using?  What is happening when you run it?

    Fine, you want to know what i was attempting to do? i'll tell you, though excuse me for any mispellings considering i don't have the source code on me.

    <font size="2" face="Lucida Console">imports system.drawing.drawing2d.brushes
    public form1.vb</p><p style="margin-left: 40px;">private x as integer</p><p style="margin-left: 40px;">private y as integer
    </p><blockquote>private tercolorbrush as brush = new brush(solidbrush.fromargb{})
    private w as integer
    private ht as integer
    private prog as integer =0
    private cnst as integer = 0

    ---------------------------------snip a few lines and button click command--------------------------------------------
    <blockquote>'terprog is the system name of the progress bar
    terprog.value(prog)
    if cnst = 0 then
    <blockquote>prog=33
    ---------------------------------------none of the rest was implemented yet-------------------------------------
    </blockquote></blockquote></blockquote><p></font>

     

    OK, let me explain.  Please ask questions in the following format:

     

    I'm having some problems with the standard Windows Form ProgressBar. I'm trying to change the value in VB.NET to make the progress bar show it is 33% done.  my current code is:

    progressBar1.value(prog)
    prog = 33

    I have already set progressBar1.Maximum to 100.

     

    Then I would come and I would say:

     Yo dude, do:

    progressBar1.Value = 33



  • @tster said:

     @Steeldragon said:

    @tster said:

    @Steeldragon said:

     how do i use the progress bars with a constant? I want the progress bar to use a variable defined as an integer for the value.It will be runningoutside of an if then loop that will set its value.

     

    Please include the answer to all these questions when asking something:

    What language are you talking about?  What progress bar are you talking about?   What are you trying to do?  What is the code you are using?  What is happening when you run it?

    Fine, you want to know what i was attempting to do? i'll tell you, though excuse me for any mispellings considering i don't have the source code on me.

    <font face="Lucida Console" size="2">imports system.drawing.drawing2d.brushes
    public form1.vb</p><p style="margin-left: 40px;">private x as integer</p><p style="margin-left: 40px;">private y as integer
    </p><blockquote>private tercolorbrush as brush = new brush(solidbrush.fromargb{})
    private w as integer
    private ht as integer
    private prog as integer =0
    private cnst as integer = 0

    ---------------------------------snip a few lines and button click command--------------------------------------------
    <blockquote>'terprog is the system name of the progress bar
    terprog.value(prog)
    if cnst = 0 then
    <blockquote>prog=33
    ---------------------------------------none of the rest was implemented yet-------------------------------------
    </blockquote></blockquote></blockquote><p></font>

     

    OK, let me explain.  Please ask questions in the following format:

     

    I'm having some problems with the standard Windows Form ProgressBar. I'm trying to change the value in VB.NET to make the progress bar show it is 33% done.  my current code is:

    progressBar1.value(prog)
    prog = 33

    I have already set progressBar1.Maximum to 100.

     

    Then I would come and I would say:

     Yo dude, do:

    progressBar1.Value = 33

    ehh, i never knew about progressbar.maximum. also, your second line of code doesn't work in the 2008 edition, i already tried it.


  • @PJH said:

    @Steeldragon said:

    @tster said:

    @Steeldragon said:

     how do i use the progress bars with a constant? I want the progress bar to use a variable defined as an integer for the value.It will be runningoutside of an if then loop that will set its value.

     

    Please include the answer to all these questions when asking something:

    What language are you talking about?  What progress bar are you talking about?   What are you trying to do?  What is the code you are using?  What is happening when you run it?

    Fine, you want to know what i was attempting to do? i'll tell you, though excuse me for any mispellings considering i don't have the source code on me.

    It would appear that the hidden reference to "How to ask questions the smart way" has not only eluded you, but failed to come close enough to warrant a 'rim-shot' reference.
    You just made a "rim-shot" reference. besides from that, most of my coding knowledge comes from reading these forums, & since there's almost never a mention of visual basic express edition 2008, i have very little clue how things work. Also, this is my first time posting a question of this sort.


  • @Steeldragon said:

    also, your second line of code doesn't work in the 2008 edition, i already tried it.

    No, you think you tried it. If you actually tried it you'd know that it works.

    @Steeldragon said:

    progressBar1.value(prog)
    vs@tster said:
    progressBar1.Value = 33

     



  • @dabean said:

    @Steeldragon said:

    also, your second line of code doesn't work in the 2008 edition, i already tried it.

    No, you think you tried it. If you actually tried it you'd know that it works.

    @Steeldragon said:

    progressBar1.value(prog)
    vs@tster said:
    progressBar1.Value = 33

     

    I stand corrected, It does work. Thread closed.

  • :belt_onion:

    @Steeldragon said:

    I stand corrected, It does work. Thread closed.
    Strange... I can still post to it. WTF?



  • @bjolling said:

    @Steeldragon said:
    I stand corrected, It does work. Thread closed.
    Strange... I can still post to it. WTF?
    Thread locked.



  • @Welbog said:

    @bjolling said:
    @Steeldragon said:
    I stand corrected, It does work. Thread closed.
    Strange... I can still post to it. WTF?
    Thread locked.
    Strange... I can still post to it. WTF?



  •  *dance*



  •  Ok, I locked it.



  • Really?



  •  by that i mean i will not look at this again.



  • @Steeldragon said:

    By that I mean I will not look at this again.
    This is one of the most obvious lies I have ever read a forum.



  • @dhromed said:

    Ok, I locked it.
    Thanks dhromed



  • @belgariontheking said:

    @dhromed said:
    Ok, I locked it.
    Thanks dhromed
     

    Don't mention it.  ;;--))



  • @Welbog said:

    @Steeldragon said:

    By that I mean I will not look at this again.
    This is one of the most obvious lies I have ever read on a forum.

    If you're going to correct grammar, at least make sure you don't fuck it up yourself.



  • @tster said:

    This is one of the most obvious lies I have ever read on a forum.
    Strange, I didn't notice that either the first time.



  • @tster said:

    If you're going to correct grammar, at least make sure you don't fuck it up yourself.
    I have to obey Muphry's law, though.



  • @Welbog said:

    @tster said:

    If you're going to correct grammar, at least make sure you don't fuck it up yourself.
    I have to obey Muphry's law, though.

     

    Ironically, I almost embarrassed myself by using "your" instead of "you're."

     

    PS. you misspelled Murphy.

    oh....  wait....



  • @tster said:

    oh....  wait....
     

    Ellipsiseses are only three dots...



  •  I stand by my claim: Three dots are fine, four dots are borderline, two dots are a surefire sign of raging insanity.

    .



  • @PSWorx said:

     I stand by my claim: Three dots are fine, four dots are borderline, two dots are a surefire sign of raging insanity.

    .

    you then, are insane.


  • @Steeldragon said:

    [something]
    Hah! I told you so.



  • @Steeldragon said:

    ..., most of my coding knowledge comes from reading these forums

    There in lies the problem.



  • @chrismcb said:

    @Steeldragon said:
    ..., most of my coding knowledge comes from reading these forums
    There in lies the problem.
    true, that is a problem, but i've learned what nottodo.


Log in to reply