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.
Results 1 to 7 of 7
Thread: List box process
- 01 Mar. 2012 05:13pm #1
List box process
- 01 Mar. 2012 09:02pm #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):
PHP Code: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
Last edited by ~Shieru No Tamashi~; 01 Mar. 2012 at 09:34pm. Reason: Modified code
- 02 Mar. 2012 12:13am #3
- 02 Mar. 2012 06:51pm #4
La choukra 3ala wajib
- 02 Mar. 2012 10:47pm #5
- 03 Mar. 2012 10:43am #6
It differs a little bit. Google it to try it out.
- 03 Mar. 2012 12:59pm #7