im new in vb.net
i want to delete an item on a listview,
this is my code
If ListView1.SelectedItems.Count > 0 AndAlso MessageBox.Show("Do you want to delete this item?", "Confirm", MessageBoxButtons.YesNo) = Windows.Forms.DialogResult.Yes Then 'make sure there is a selected item to delete ListView1.SelectedItems(0).Remove() End If
now my problem is i want to delete that item on the text file line
( using streamreader and streamwriter)
can someone help??