Results 1 to 2 of 2

Thread: Deleting files

  1. #1

    Thread Starter
    Member
    Join Date
    Mar 2000
    Location
    Staffodshire, England
    Posts
    32
    Is it possible to delete a file off of a disk in the a: drive, by selecting it from a file list box, I tried using the kill command but it did not work, help.

  2. #2
    Serge's Avatar
    Join Date
    Feb 1999
    Location
    Scottsdale, Arizona, USA
    Posts
    2,744
    Yes you can delete the file using FileList box:
    Code:
    Private Sub Command1_Click()
        Kill File1.Path & "\" & File1.List(File1.ListIndex)
    End Sub

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width