View Single Post
Old Jun 20th, 2005, 5:07 PM   #3
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
OK... that's just mean. I won't do your homework for you, for obvious reasons, but I'll try and be a little more helpful than the complexitiness that is MSDN.

To add a row to a ListView, you use the Items.Add submethod:
Dim LVI As ListViewItem
LVI = ListView1.Items.Add ("Blah")
The ID of the row, as such, is stored in the variable LVI.

To add subitems (same row, new column), it's very similar:
LVI.SubItems.Add ("Moo")

That should be enough to get you going. Remember, you can use the ToString method to convert almost anything to a string for use in the above methods.
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote