Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

.NET 

[TUT] How to use progress bars in depth [Noob Proof]

(May 12, 2011 04:21 PM)Alex™ Wrote:  Do people have BB code editors or something? how do people make these really long threads, this one must of took an hour with all the pics n shit.

This just gave me a cool idea for a VB project, thanks.
(May 12, 2011 04:39 PM)Cody8295 Wrote:  This just gave me a cool idea for a VB project, thanks.

lol np, please send me link to a binary.
Don't worry about making a second tutorial, I actually made one that goes over everything needed.
Thanks a bunch, noob proof lol
I lol'd at the thread title when you said noob proof but when I saw the thread I was like HOLY SHIT ROFL THIS IS SO INDEPTH.
I was really expecting something in depth with some more advanced coding but this is basic progress bars.
Step 4 can also be
Code
Progressbar1.Value += 1
Saves typing and can also be used with any type of same variable adding, like
Code
Dim i as Integer = 0
i += 1
Which actually means
Code
Dim i as Integer = 0
i = i + 1
Being great is half the battle. If you're great and nobody knows who you are, then what's the point of being great?
(May 12, 2011 04:54 PM)Milopeach Wrote:  Step 4 can also be
Code
Progressbar1.Value += 1
Saves typing and can also be used with any type of same variable adding, like
Code
Dim i as Integer = 0
i += 1
Which actually means
Code
Dim i as Integer = 0
i = i + 1

Thanks for that but im pretty new to vb.net could you please tell me how i would use that?
Fair play this is helpful to beginners, the reason behind saying that isn't just the snippet for adding a progress bar but with visual support to the annotations (like debugging) helps newbies understand what people mean in other written tutorials.

P.S my name's alex also and Im proud as hell to be british :)

--

(May 12, 2011 05:02 PM)Alex™ Wrote:  Thanks for that but im pretty new to vb.net could you please tell me how i would use that?

Basically by using
progressbar1.value = progressbar1.value +1
this is saying the new value will be the current value of progress bar 1 PLUS another one.
however this code: progressbar1.value += 1
does exactly the same thing just shorter and cleaner.

Code
dim i as integer = 0 'declaring i as an integer, an integer holds a number giving it the value of 0
i += 1 ' the value of i now becomes the current value so 0 + 1 the next time you execute this i will = 2 because you just +1 and therefore the next output will be 3
(May 12, 2011 05:34 PM)error32 Wrote:  Fair play this is helpful to beginners, the reason behind saying that isn't just the snippet for adding a progress bar but with visual support to the annotations (like debugging) helps newbies understand what people mean in other written tutorials.

P.S my name's alex also and Im proud as hell to be british :)

--

Basically by using
progressbar1.value = progressbar1.value +1
this is saying the new value will be the current value of progress bar 1 PLUS another one.
however this code: progressbar1.value += 1
does exactly the same thing just shorter and cleaner.

Code
dim i as integer = 0 'declaring i as an integer, an integer holds a number giving it the value of 0
i += 1 ' the value of i now becomes the current value so 0 + 1 the next time you execute this i will = 2 because you just +1 and therefore the next output will be 3

VERY well explaind thanks, ill add that into the tut tomorrow, im going to bed pretty soon and im on my ipad right now so its hard to c&p
(May 12, 2011 05:43 PM)Alex™ Wrote:  VERY well explaind thanks, ill add that into the tut tomorrow, im going to bed pretty soon and im on my ipad right now so its hard to c&p

No Worries Bro ✌
(May 12, 2011 05:02 PM)Alex™ Wrote:  Thanks for that but im pretty new to vb.net could you please tell me how i would use that?

You really shouldn't write tutorials unless you have an indepth grasp on the topic
(May 12, 2011 05:55 PM)Apple Wrote:  You really shouldn't write tutorials unless you have an indepth grasp on the topic

DUDE stop flaming, i thought i knew allot, it has clearly already helped people..
(May 12, 2011 05:59 PM)Alex™ Wrote:  DUDE stop flaming, i thought i knew allot, it has clearly already helped people..

When / how am I flaming? Lol
(May 12, 2011 06:02 PM)Apple Wrote:  When / how am I flaming? Lol

(May 12, 2011 05:55 PM)Apple Wrote:  You really shouldn't write tutorials unless you have an indepth grasp on the topic
(May 12, 2011 04:03 PM)Apple Wrote:  This isn't in-depth at all -.-'

go make your own tut and gtfo my thread


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Python] by MiguelSanchezFeb 20, 2022 07:49 AM 2 128 Feb 20, 2022 07:49 AM
Last Post: Sky
[.NET] by blake.haleApr 8, 2018 10:31 AM 8 639 Apr 8, 2018 10:31 AM
Last Post: adenfr
[.NET] by blake.haleApr 7, 2018 03:45 PM 16 1,327 Apr 7, 2018 03:45 PM
Last Post: darkvas