I am trying to create a program in Visual Basic 5 that deletes a specific file from a CD-RW. I have tried using the following code:-
Code:
My.Computer.FileSystem.DeleteFile (strFile)
Set fs = CreateObject("Scripting.FileSystemObject")
fs.deletefile strFile
Leave a comment: