Hi Rob,
First of all, I think there is no preferred way in vb.Net.
Maybe there are some unpreferred.
A lot of things in VB.net (or better in the framework) are made of parts,
We see it everytime back in a lot of on first sigth totally different
things.
The listview can holds references to a listviewitems a seperate class and a
the listviewitem can holds by instance an image and listviewsubitems.
When you are creating items, rembember that you have everytime to create an
item or a subitem and than you can add, insert, remove and removeat that
item to/from a higher level.
Another point of watch for is that the listview has 4 viewstates the same as
explorer.
Here is a link on msdn, that gives the members of the listviewsubitem.
http://msdn.microsoft.com/library/de...mberstopic.asp
I hope this helps a little bit.
Cor
"Rob Richardson" <therobs@n2net.net> schreef in bericht
news:eKSQZVf7DHA.1040@TK2MSFTNGP10.phx.gbl...[color=blue]
> Cor,
>
> Thank you for your reply. Yes, I know this group is for VB .Net. So, the
> question remains: When I create a ListView control in detail mode with a
> certain number of columns, does it automatically give me the correct[/color]
number[color=blue]
> of subitems? It doesn't seem to, and I don't understand why not, since VB
> .Net knows how many columns I created in it. If not, what is the[/color]
preferred[color=blue]
> way to create the subitems I will need?
>
> Thank you very much.
>
> Rob
>
>[/color]