![]() |
|
[.NET] [TUT] How to use progress bars in depth [Noob Proof] - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [.NET] [TUT] How to use progress bars in depth [Noob Proof] (/showthread.php?tid=1286558) |
[TUT] How to use progress bars in depth [Noob Proof] - Alex™ - May 12, 2011 How to use progress bars in-depth So first of all i would like to say that i'm only learning vb so if i do something wrong or something can be done better please tell me. How to use them [lvl1] 1) Fist of all you will need: 1 'button' - Spoiler (Click to View) and 1 'progressbar' - Spoiler (Click to View) Everything should look something like this - Spoiler (Click to View) 2) Double click 'Button1', then write PHP Code 3) click debug - Spoiler (Click to View) or Spoiler (Click to View) or spress 'f5' 4) click 'button1' and the progressbar should go up to 90% then crash to prevent this use this code (made this myself dont know if this is the proper way to do it)Spoiler (Click to View) How to use them [lvl2] 1) Fist of all you will need: 1 button - Spoiler (Click to View) and 1 progressbar - Spoiler (Click to View) and a 'timer' Spoiler (Click to View). Should look something like this - Spoiler (Click to View) 2) Double click 'tmer1' and add this code PHP Code 3) Double click 'button1' and add this code - PHP Code 4) click debug - Spoiler (Click to View) or Spoiler (Click to View) or spress 'f5' Thanks for reading, im currently working on part 2. Part 2 will show you how to use labels to tell people what is going on, im just trying to work out how to explain it properly. This took a long time to make, if this helped you please say thanks. If i have made any mistakes please inform me of them. The limit of images is 10 so i had to put links to 5 of them. Ok i decided i will make a video, its the fastest way. * - Cody8295 - May 12, 2011 (May 12, 2011 03:55 PM)Alex™ Wrote: 2) Double click 'Button1', then write You should use the .Increment method instead, it's shorter and it's what it was make for. * - Tim Joe - May 12, 2011 Thank you,. I needed this!! * - Alex™ - May 12, 2011 (May 12, 2011 03:56 PM)Cody8295 Wrote: You should use the .Increment method instead, it's shorter and it's what it was make for. Thanks, here is the new code, ill put it in the post in a sec. PHP Code (May 12, 2011 03:57 PM)I ST34L Wrote: Thank you,. I needed this!! NP this is what the tut is made for :) * - Apple - May 12, 2011 This isn't in-depth at all -.-' * - Alex™ - May 12, 2011 (May 12, 2011 04:03 PM)Apple Wrote: This isn't in-depth at all -.-' hmm, stop hatin, there is going to be a part 2 as i said. This is more time consuming than i thought. * - Marketplace - May 12, 2011 You should make a timer which automatically increments. * - Alex™ - May 12, 2011 (May 12, 2011 04:06 PM)AlphaSquad Wrote: You should make a timer which automatically increments. I have. please read the lvl2 * - Cody8295 - May 12, 2011 (May 12, 2011 03:58 PM)Alex™ Wrote: Thanks, here is the new code, ill put it in the post in a sec. You don't need the "+," just 10. * - Alex™ - May 12, 2011 (May 12, 2011 04:07 PM)Cody8295 Wrote: You don't need the "+," just 10. i don't O.o ok lol thanks * - Cody8295 - May 12, 2011 (May 12, 2011 04:09 PM)Alex™ Wrote: i don't O.o ok lol thanks What do you mean you don't? Quote: ProgressBar1.Increment(+10) * - Alex™ - May 12, 2011 (May 12, 2011 04:11 PM)Cody8295 Wrote: What do you mean you don't? like an a rhetorical question i.e bob says"you need to do 'x' " sid says" I do? ok" * - Cody8295 - May 12, 2011 (May 12, 2011 04:13 PM)Alex™ Wrote: like an a rhetorical question i.e bob says"you need to do 'x' " sid says" I do? ok" Oh, well, there was no question mark, lol, I thought you meant it literally. * - Active - May 12, 2011 I made a really good progress par tutorial but I reformatted my pc :( * - Alex™ - May 12, 2011 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. |