A preserved archive of the Logical Gamers community forums, 2009-2025. The original threads and posts, served read-only. Registration, posting and private messages are gone for good.

List box process

1.1k views · started by Jah ·
#1
List box process
I am making a bot that converts IDs to usernames in gaia but this time it will use a listbox and it will go down (ex Listbox1.items.count - 1 )
But the tricky part is to get the this into the wrapper.get("url"+listbox.item) or something like that.
This made me confused :/ so everytime i think of a solution, my brain hurts cause there is a big disorder.
Help ? Thanks.
I just love posting help here.
#2
Here's what I suggest. You first put the IDs in one listbox (Listbox1), you loop over the items there and put results in a second listbox (listbox2):

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
ListBox1.Items.Add(TextBox1.Text)
End Sub

Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
For i = 0 To ListBox1.Items.Count - 1
ListBox2.Items.Add(w.Between(w.HTTPRequest("strhtml", "GET", "url" + ListBox1.Items.Item(i).ToString), "strstart", "strend"))
Next
End Sub


You can also use listview controls to avoid the user misreading your program's result.
#3
Thanks, This was exactly what was bothering me, the bot is ready. Chokran !
#4
La choukra 3ala wajib :D
#5
La choukra 3ala wajib :D


would it be the same thing with the listview ?
#6
It differs a little bit. Google it to try it out.
#7
It differs a little bit. Google it to try it out.


I sure will :) Thanks :P