Click to See Complete Forum and Search --> : Deleting a file from a file list box


Jonathon Carr
October 6th, 2001, 01:31 AM
I have a filelist box and a button, I want the user to select a file, then click the button and the file will be deleted. Preferably I would want it to be deleted permanently rather than put in the Recycle Bin. How would I do this?

Jonathon.

d.paulson
October 6th, 2001, 06:09 AM
Kill File1.FileName

David Paulson

Jonathon Carr
October 6th, 2001, 07:31 AM
Thanks

Jonathon.

ramayansunil
October 8th, 2001, 01:32 AM
Hi,
U can use the Kill method to delete the file u require.
Kill(File Path)

Sunil