Lisview subitems - how do I get images for these??
In VB6 I could easily insert items and sub items into a listview. With the sub items I could also specify an image and all the other attributes.
VB .NET seems to have 100's of options for all things great and small but I'll be a monkey's uncle if I could find how to set an image for a sub item.
Although after I insert a sub item I get a sub item back which can be used it does not have the required methods or interface for images. Very frustrating as this was easy in VB6 and we are meant to be moving forward in .NET.
A bit of my code is :-
itm = lvSearch.Items.Add("Item text", ImageNo)
sitm = itm.SubItems.Add("string1")
sitm = itm.SubItems.Add("string2")
Any tips welcome!