|
-
Feb 8th, 2006, 11:32 AM
#1
Thread Starter
Member
[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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|