Permanently Delete A File
Category:
Files and DirectoriesType:
SnippetsDifficulty:
BeginningAuthor:
AnonymousVersion Compatibility: Visual Basic 6
More information:
The code snippet is similar to deleting a file in Windows Explorer buy pressing Shift + Del. The Kill() function has a signature of Public Sub Kill(ByVal PathName As String).
Instructions: Copy the declarations and code below and paste directly into your VB project.
Declarations: