Results 1 to 4 of 4

Thread: [RESOLVED] Delete a file using VB?

Threaded View

  1. #1

    Thread Starter
    Member
    Join Date
    Jun 2005
    Location
    Poulsbo, WA
    Posts
    60

    Resolved [RESOLVED] Delete a file using VB?

    I'm trying to delete a reusable file in a VB6 app. This file is for importing information into a seperate Access DB and will be used multiple times. Should I delete it using the kill command like this(which doesn't work right now)-

    Pathway = App.Path

    FullPath = Pathway & "\ImportFile.txt"
    If FullPath <> 0 Then
    Kill FullPath
    End If

    Or should I just overwrite the data in the file(which I doon't know how to do).

    John
    Last edited by KidJavelin; Feb 8th, 2006 at 11:56 AM.

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