how would i get the first item of the listview? i know how to get the subitems, but not the main item
Printable View
how would i get the first item of the listview? i know how to get the subitems, but not the main item
MsgBox ListView1.SelectedItem
ListView1.ListItems.Item(1).Text
ListView1.ListItems.Item(1).ListSubItems.Item(1).Text
ListView1.ListItems.Item(1).ListSubItems.Item(2).Text
ListView1.ListItems.Item(1).ListSubItems.Item(3).Text
If your listview has 4 columns this will give you the the contents of the first item (row) of the listview