Solved

Hiding an item in a Listbox

Posted on 2007-03-29
1
237 Views
Last Modified: 2010-04-16
Dear Experts,

I have two listboxes ListBox1 and ListBox2. How can I hide or make items visible=false for the items in ListBox1 that are in ListBox2.

Please help
0
Comment
Question by:rowmark
1 Comment
 
LVL 12

Accepted Solution

by:
craskin earned 500 total points
ID: 18817702
For li as ListItem in ListBox1.Items
   For ili as ListItem in ListBox2.Items
        If li.Value = ili.Value Then
             li.Visible = False
        End If
   Next
Next

You could try something like that. but i'm not 100% on my syntax.
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now