Dim wri As New IO.StreamWriter("e:\test.txt", True)
wri.WriteLine(ListBox1.SelectedItem, true)
wri.Close())
etc in llistbox1 items , "1" "f1" "f2"
when i click for example f1 that code will save it and when i want you save the same item it wit will save it in other line and in test.text file looks like this
f1
f1
f1
f1
f1
i don't want that
i want to only save once ,not repeatedly save that item in each line
thanks for helping me :)