Deleting A Text File From VB Application
Posted on 2002-05-29
I'm using VB6 against an SQL Server 7 database.
I'm trying to delete a text file and I'm using the Kill command.
I tried a lot of different syntaxes from MSDN, etc. but I still get an error: "File Not Found"
I shouldn't have any permissions problems.
I'm just trying to delete a text file from my C:\ drive.
ex: Kill "c:\test.txt"
What am I doing wrong?
Or, is there another way to delete a text file from a vb program?
Thanks in Advance