Results 1 to 6 of 6
  1. #1
    XGelite's Avatar
    Join Date
    Mar 2009
    Gender
    male
    Location
    Enter text here
    Posts
    1,344
    Reputation
    12
    Thanks
    276

    [TUT] how to make a REAL progress bar

    alright..there was already a tutorial on this but this one tells you the amount of progress your code has made...like say a cleaner..it will actually show you the progress of the cleaner.

    alright lets get started.
    what you need:

    a form
    a progress bar
    and some code


    ok

    1st make a form
    2nd put a porgress bar on it.

    now lets say you have a cleaner. and you have the code
    Code:
    kill("c:\windows\temp\*.*")
    kill("C:\ bla\bla\bla\*.*")
    kill("C:\ bla\bla\bla\*.*")
    kill("C:\ bla\bla\*.*)
    kill("C:\ bla\bla\*.*")
    kill("C:\ bla\bla\bla.*")
    kill("C:\bla\*.*")
    you get the idea :P ( those are not real paths )

    now in order to show the progress of all that in the progress bar, you will need to add some stuff to it.

    add this in between each file delete

    Code:
    ProgressBar1.Increment(20) ' the increment can be whatever you like, right now its at 1/5 each time it increments
    example:

    Code:
    kill("c:\windows\temp\*.*")
    ProgressBar1.Increment(20)
    kill("C:\ bla\bla\bla\*.*")
    kill("C:\ bla\bla\bla\*.*")
    ProgressBar1.Increment(20)
    kill("C:\ bla\bla\*.*)
    kill("C:\ bla\bla\*.*")
    ProgressBar1.Increment(20)
    kill("C:\ bla\bla\bla.*")
    kill("C:\bla\*.*")
    ProgressBar1.Increment(20)
    kill("C:\path\*.*")
    kill("C:\path\filename*.*")
    ProgressBar1.Increment(20)
    then add this at the end of the code
    Code:
    If ProgressBar1.Value = ProgressBar1.Maximum Then msgbox("done!")
    so it should look like this when you are done.

    Code:
    kill("c:\windows\temp\*.*")
    kill("C:\bla\*.*")
    ProgressBar1.Increment(20)
    
    kill("C:\ bla\bla\bla\*.*")
    kill("C:\ bla\bla\bla\*.*")
    ProgressBar1.Increment(20)
    
    kill("C:\ bla\bla\*.*)
    kill("C:\ bla\bla\*.*")
    ProgressBar1.Increment(20)
    
    kill("C:\ bla\bla\bla.*")
    kill("C:\bla\*.*")
    ProgressBar1.Increment(20)
    
    kill("C:\path\*.*")
    kill("C:\path\filename*.*")
    ProgressBar1.Increment(20)
    
    If ProgressBar1.Value = ProgressBar1.Maximum Then msgbox("done!")

  2. The Following 2 Users Say Thank You to XGelite For This Useful Post:

    CounterAct (11-14-2009),Houston (11-04-2010)

  3. #2
    Zoom's Avatar
    Join Date
    May 2009
    Gender
    male
    Location
    Your going on my 24/7 DDoS hit list.
    Posts
    8,552
    Reputation
    127
    Thanks
    5,970
    My Mood
    Happy
    Ahhh A cleaner now i understand

    Gj man!
    -Rest in peace leechers-

    Your PM box is 100% full.

  4. #3
    Threadstarter
    Synthetic Hacker
    XGelite's Avatar
    Join Date
    Mar 2009
    Gender
    male
    Location
    Enter text here
    Posts
    1,344
    Reputation
    12
    Thanks
    276
    Quote Originally Posted by hejsan1 View Post
    Ahhh A cleaner now i understand

    Gj man!
    yeah, but it doesn't have to be a cleaner. just the easiest example.

  5. #4
    Zoom's Avatar
    Join Date
    May 2009
    Gender
    male
    Location
    Your going on my 24/7 DDoS hit list.
    Posts
    8,552
    Reputation
    127
    Thanks
    5,970
    My Mood
    Happy
    Quote Originally Posted by XGelite View Post
    yeah, but it doesn't have to be a cleaner. just the easiest example.
    I know, good if you dont know how to make a cleaner!
    -Rest in peace leechers-

    Your PM box is 100% full.

  6. #5
    Dark_Goliath's Avatar
    Join Date
    Nov 2009
    Gender
    male
    Location
    Romania
    Posts
    308
    Reputation
    10
    Thanks
    28
    My Mood
    Sad
    Hmmm this is to hard to understand for the begginers this is for ppl ho know some vb

  7. #6
    Threadstarter
    Synthetic Hacker
    XGelite's Avatar
    Join Date
    Mar 2009
    Gender
    male
    Location
    Enter text here
    Posts
    1,344
    Reputation
    12
    Thanks
    276
    Quote Originally Posted by Dark_Goliath View Post
    Hmmm this is to hard to understand for the begginers this is for ppl ho know some vb
    not really..... ;p

Similar Threads

  1. [TUT] How to make a cool progress bar ! [TUT]
    By mizzer3 in forum Visual Basic Programming
    Replies: 6
    Last Post: 04-24-2010, 05:20 AM
  2. [TUT]How to make a Simple Progress Bar!
    By DeathHunter in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 4
    Last Post: 04-12-2010, 12:02 AM
  3. [Tut]How to Make KoWarrock Account Easy
    By EyalZamir in forum WarRock Korea Hacks
    Replies: 181
    Last Post: 06-08-2008, 12:05 PM
  4. [Request]Tut how to make his own bypass
    By BurakG in forum WarRock - International Hacks
    Replies: 3
    Last Post: 05-08-2007, 02:46 PM
  5. Tut: how to make cheese
    By ace76543 in forum General
    Replies: 14
    Last Post: 01-14-2007, 09:39 AM

Tags for this Thread