How do I remove item from list box and File Directory

Apr 10 2012 5:44 PM
Hello.


I have a program which creates a random text file name, places it in a list box and places the file in my documents.


I have a delete button which deletes the file from the list box but doesn't delete it from my documents. How do I read the file from the list box and ensure it's the same one as in my documents, then delete  it if the button is clicked.


Thanks


P.S i'm new to these forums, I don't know how to turn code text type off lol





Answers (1)