• Welcome to Valhalla Legends Archive.
 

Need help with Allseen command

Started by GoSu_KaOs, November 10, 2004, 09:56 PM

Previous topic - Next topic

GoSu_KaOs

I need to make this command but I need some help. I know I need to make the code go through the listview and put all the names in the channel, or at least like 15 of them, in a text file.
I know how to save to a textfile but, how do I dont know the function that can go though the listview.

BaDDBLooD

Just use a loop


For i = 1 To ListView1.Count
     Output #1, listView1.Item(i).Text
Next I


Modify it to suit your needs
There are only two kinds of people who are really fascinating: people who know absolutely everything, and people who know absolutely nothing.

Minux

Quote from: BaDDBLooD on November 10, 2004, 10:47 PM
Just use a loop


For i = 1 To ListView1.Count
     Output #1, listView1.Item(i).Text
Next I


Modify it to suit your needs


For i = 1 To ListView1.ListItems.Count
     Print #1, listView1.ListItems.Item(i).Text
Next i

BaDDBLooD

Quote from: Minus on November 13, 2004, 06:20 PM
Quote from: BaDDBLooD on November 10, 2004, 10:47 PM
Just use a loop


For i = 1 To ListView1.Count
     Output #1, listView1.Item(i).Text
Next I


Modify it to suit your needs


For i = 1 To ListView1.ListItems.Count
     Print #1, listView1.ListItems.Item(i).Text
Next i


Yeah, sorry.. that was a quicky response.

EDIT: Thanks for correcting it minus
There are only two kinds of people who are really fascinating: people who know absolutely everything, and people who know absolutely nothing.