Hello,
How can I delete a file from a FlieList Box or current directory?
This was apart of another post, but it somwhow disappeared from the post. I never got an answer.
:(
Printable View
Hello,
How can I delete a file from a FlieList Box or current directory?
This was apart of another post, but it somwhow disappeared from the post. I never got an answer.
:(
Try:
VB Code:
Private Sub Command1_Click() Kill (Dir1.Path & File1.FileName) File1.Refresh End Sub
Thank you,
Here is what worked for me.
After a file was loaded from a FileList Box, here is what I did.
This is a word processor.
VB CODE:
Private Sub DeleteFile_Click()
Kill File1
File1.Refresh
End Sub
:)