troubleshooting Question

Group Question

Avatar of Gunit2507
Gunit2507 asked on
Visual Basic.NET
5 Comments1 Solution166 ViewsLast Modified:
I have a combobox that contains the following items (Game, Month, Nothing). Whenever the selected index changes I want to
clear all the groups, and then make new groups (So far I know how to do all that). Then I want to loop through all the items in
my listview control and set the group to a specific group.... So for example:

If game is selected the groups will be all unique game names (the item text)

If Month is selected the groups will be all the unique month names (Month(Item.SubItems(4)))

So then I want to set the group = whatever the correct group is...

So I was going to do something like this:

for each FoundItem As ListViewItem In Me.ListviewControl.Items

Next

I just dont know how to set the group by header text
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 5 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros