Delete File Using Visual Basic 6.0 Code
Private Sub filedelete(filename As String)
Dim filesystemobject As Object
Set filesystemobject = CreateObject("Scripting.filesystemobject")
filesystemobject.deletefile filename, True
End Sub
Private Sub Command1_Click()
filedelete (filename)
End Sub
Note : (filename) is location and file name of the file you will deleted
Note : (filename) is location and file name of the file you will deleted
0 comments:
Post a Comment