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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Remove listview item

Status
Not open for further replies.

bslaast

MIS
Oct 22, 2009
46
0
0
US
I want to remove lines from a listview where the input value from a text box matches the line number of the listview. This is what I have:

Dim line As ListViewItem
Dim no As String
Dim index As String
index = txtLine.Text
no = frmLineItemDialog.txtLineNo.Text
If index = no Then
line = line.Remove()
End If
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top