Thanks, It works without any problemems.
I edited the code so if it finds strName it should delete it because the application-program reads from a text file and adds the the names listed there, but the in the text file the name is referred plenty of times so there's a whole list of the same name, but it won't work, I don't know if it's because there is also included SubItems:
Name Phone Email
Christoffer Nokia firstname.lastname@example.org
^ that name and with the same subitems is added more than ones because of the text file and I need to delete them but my code won't work:
For i = 0 To (ListView1.Items.Count - 1)
If ListView1.Items(i).ToString = strName Then