Results 1 to 2 of 2

Thread: deleting a file

  1. #1

    Thread Starter
    Member saraab's Avatar
    Join Date
    Jul 2004
    Location
    Pakistan
    Posts
    32

    deleting a file

    Hello

    Given a filename, how can i delete that file in vb6

    Thankx

  2. #2
    Frenzied Member Lightning's Avatar
    Join Date
    Oct 2002
    Location
    Eygelshoven
    Posts
    1,611
    From MSDN:
    VB Code:
    1. ' Assume TESTFILE is a file containing some data.
    2. Kill "TestFile"   ' Delete file.
    3.  
    4. ' Delete all *.TXT files in current directory.
    5. Kill "*.TXT"
    VB6 & C# (WCF LINQ) mostly


    If you need help with a WPF/WCF question post in the NEW WPF & WCF forum and we will try help the best we can

    My site

    My blog, couding troubles and solutions

    Free online tools

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