- Joined
- Aug 2, 2011
- Posts
- 30
- Reaction score
- 0
- Points
- 0
Hi,
I am coding my first bot and it is a Yahoo.co.uk email account creator (because it allows pop3).
I have a ListView with colums like Fullname, Username, Password and Status.
I first selected the "0" position of the ListView by using the code---->
listView1.Items[0].Selected = true;
listView1.Select();
How can I loop through say if I have 10 Rows in the ListView.
I know how to do it for ListBox. For lListBox I can simply use the code---->
ListBox1.SelectedItem++
at the end of each loop to select the next item in the listbox.
How can I do the same thing in ListView?
Also I filled in the fields of Username and Password with the code like---->
listView1.SelectedItems[num].SubItems[0 + 1].Text ----> for Username because it is in the first row second column
listView1.SelectedItems[num].SubItems[0 + 2].Text ----> for Password because it is in the first row third column.
Any experienced coders, please need your help...
I am coding my first bot and it is a Yahoo.co.uk email account creator (because it allows pop3).
I have a ListView with colums like Fullname, Username, Password and Status.
I first selected the "0" position of the ListView by using the code---->
listView1.Items[0].Selected = true;
listView1.Select();
How can I loop through say if I have 10 Rows in the ListView.
I know how to do it for ListBox. For lListBox I can simply use the code---->
ListBox1.SelectedItem++
at the end of each loop to select the next item in the listbox.
How can I do the same thing in ListView?
Also I filled in the fields of Username and Password with the code like---->
listView1.SelectedItems[num].SubItems[0 + 1].Text ----> for Username because it is in the first row second column
listView1.SelectedItems[num].SubItems[0 + 2].Text ----> for Password because it is in the first row third column.
Any experienced coders, please need your help...