Thread: deleting files

    #1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2002
    Posts
    10
    Rep Power
    0

    deleting files


    Does anyone know how to delete files from inside a VB 6.0 program? I have a program that works with a bunch of text files, and it needs to be able to delete the files, but I can't figure out how to do it.

    thanks.
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Apr 2002
    Posts
    693
    Rep Power
    26
    kill
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2003
    Posts
    11
    Rep Power
    0
    Hi!

    You can use the FileSystemObject (FSO) to delete files in your app.
    http://msdn.microsoft.com/library/de...stemObject.htm
    You can find a lot of samples on the internet by searching on Google, (or any other search engine).

    Another way to do it
    http://www.developerfusion.com/show/162/

    Regards,

IMN logo majestic logo threadwatch logo seochat tools logo