-
I've had a heck of a time finding a good example to do some simple appending to a ListView in ReportView mode. I finally figured it out (for a database search result form) so if anyone else has had the trouble ive had... here ya go!
Code:
With ListView1.ListItems.Add()
.Text = "Column 1"
.SubItems(1) = "Column 2"
.SubItems(2) = "Column 3"
End With
ListView1.View = 3 ' lvwReport
ListView1.FullRowSelect = True
-
If you had problems finding out how to use a ListView why didn't you ask us?
ListViews are a bit puzzling until you get use to them but are really quite straight forward.
-
I would have asked but I just found VB-WORLD.NET a couple days ago and I didn't really want to bug anyone with something that [i felt] was that simple.