Results 1 to 3 of 3

Thread: How can I delete a file from a FlieList Box?

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Oct 2002
    Location
    Tennessee
    Posts
    378

    How can I delete a file from a FlieList Box?

    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.
    Thanks,
    GARY

  2. #2
    PowerPoster Nightwalker83's Avatar
    Join Date
    Dec 2001
    Location
    Adelaide, Australia
    Posts
    13,344
    Try:
    VB Code:
    1. Private Sub Command1_Click()
    2. Kill (Dir1.Path & File1.FileName)
    3. File1.Refresh
    4. End Sub
    when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
    If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
    https://get.cryptobrowser.site/30/4111672

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Oct 2002
    Location
    Tennessee
    Posts
    378
    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



    Last edited by GARY MICHAEL; Jan 29th, 2003 at 02:35 PM.
    Thanks,
    GARY

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