Results 1 to 3 of 3
  1. #1
    That0n3Guy's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Posts
    1,137
    Reputation
    13
    Thanks
    271
    My Mood
    Sleepy

    [TuT] Cycling through items in a listbox [/TuT]

    1. Create a listbox
    2. Create a command button
    3. Double click the Command button and past the code

    Code:
    Dim I As Integer
        For I = 0 To List1.ListCount - 1
         'Code to do with each item in that list box here
        Next I
    Use of that code:
    In between For and Next I insert the code you want to be used on each item from that list box.

    Example:
    Code:
    Dim I As Integer
        For I = 0 To List1.ListCount - 1
         'Code to do with each item in that list box here
         Text1.Text = List1.List(I)
        Next I
    Basically all that would do, is change the text of text1.text to the value of the current listbox item.

    Any questions? Feel free to ask.
    Quotes Hall of Fame

    Quote Originally Posted by martijno0o0 View Post
    ok, i got visual basic 2008 and i got some expirients but i need c++ to make hacks rigth?
    so i need c++ and my question is!?¿? where i dontload it? and is c++ a own program or a update for vb08?

  2. #2
    Pixie's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Location
    Pixie wird wieder steigen.
    Posts
    1,884
    Reputation
    22
    Thanks
    229
    My Mood
    Fine
    I don't get what this does, well I do, but not quite how to use??

  3. #3
    That0n3Guy's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Posts
    1,137
    Reputation
    13
    Thanks
    271
    My Mood
    Sleepy
    I've used it in my autotyper and injector, if you have multiple things in a listbox this will go through them one by one and use a code on them, as if they were seperate textbox's and it was using it on each of them.
    Quotes Hall of Fame

    Quote Originally Posted by martijno0o0 View Post
    ok, i got visual basic 2008 and i got some expirients but i need c++ to make hacks rigth?
    so i need c++ and my question is!?¿? where i dontload it? and is c++ a own program or a update for vb08?

Similar Threads

  1. [Help] Select all items in a ListBox [solved]
    By alvaritos in forum Visual Basic Programming
    Replies: 4
    Last Post: 04-13-2011, 10:02 AM
  2. Cycling through threads on button press
    By Azureum in forum Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    Replies: 0
    Last Post: 09-06-2010, 12:55 AM
  3. [Vb.net] Go through all sites in listbox?
    By ipwnuuaal5 in forum Visual Basic Programming
    Replies: 6
    Last Post: 06-15-2010, 06:27 AM
  4. Item shop hack TUT
    By warpebble in forum WarRock Korea Hacks
    Replies: 37
    Last Post: 06-15-2008, 07:12 AM
  5. item shop hack tut
    By prox32 in forum WarRock - International Hacks
    Replies: 52
    Last Post: 08-06-2007, 12:06 PM

Tags for this Thread