Hello, I have a listbox that writes to a txt document when items are added, I just added a delete button with;

Code:
List1.RemoveItem (List1.ListIndex)
List1.Refresh
However, it does not tell the txt file to delete the entry of the same name, so I was wondering how I could do that

Thanks!