Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do you locate and delete an item from a listbox? 1

Status
Not open for further replies.

emaduddeen

Programmer
Mar 22, 2007
184
US
Hi Everyone,

can you tell me how to locate and delete an item in a listbox?

Thanks

truly,
emad
 
If listbox1.Items.Contains("something") Then
listbox1.Items.Remove("something")
End If
 
Hi VB4Life,

Thanks for the reply.

It helps me a lot.

Truly,
Emad
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top