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:
thanks...I was trying to use progressbar.value to set it's value. (you can all laugh at me now)...Progressbar with a constant? WTF
Use the progressbar.increment to show progression
Use progressbar.value to get the value
-
@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:
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.@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?
[code]imports system.drawing.drawing2d.brushes
public form1.vbprivate 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 thenprog=33
---------------------------------------none of the rest was implemented yet-------------------------------------[/code]
-
@Steeldragon said:
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.@tster said:
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.@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?
-
@Steeldragon said:
@tster said:
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.@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?
<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 = 33I have already set progressBar1.Maximum to 100.
Then I would come and I would say:
Yo dude, do:
progressBar1.Value = 33
-
@tster said:
ehh, i never knew about progressbar.maximum. also, your second line of code doesn't work in the 2008 edition, i already tried it.@Steeldragon said:
@tster said:
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.@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?
<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 = 33I have already set progressBar1.Maximum to 100.
Then I would come and I would say:
Yo dude, do:
progressBar1.Value = 33
-
@PJH said:
@Steeldragon said:
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.
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.@tster said:
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.@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?
-
@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:
I stand corrected, It does work. Thread closed.@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
-
@Steeldragon said:
I stand corrected, It does work. Thread closed.
Strange... I can still post to it. WTF?
-
@bjolling said:
@Steeldragon said:
Thread locked.I stand corrected, It does work. Thread closed.
Strange... I can still post to it. WTF?
-
@Welbog said:
@bjolling said:
Strange... I can still post to it. WTF?@Steeldragon said:
Thread locked.I stand corrected, It does work. Thread closed.
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.
-
-
-
@Welbog said:
If you're going to correct grammar, at least make sure you don't fuck it up yourself.@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.
-
@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....
-
-
I stand by my claim: Three dots are fine, four dots are borderline, two dots are a surefire sign of raging insanity.
.
-
@PSWorx said:
you then, are insane.I stand by my claim: Three dots are fine, four dots are borderline, two dots are a surefire sign of raging insanity.
.
-
@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:
true, that is a problem, but i've learned what nottodo...., most of my coding knowledge comes from reading these forums
There in lies the problem.