F
fniles
I am using VB.NET 2005.
When I try to delete a folder that has files underneath it, it gave me "the
directory is not empty" error.
f = New IO.DirectoryInfo("C:\myfolder")
If f.Exists Then
f.Delete() --> error "the directory is not empty"
End If
How can I delete a folder with files underneath it ? Thank you.
When I try to delete a folder that has files underneath it, it gave me "the
directory is not empty" error.
f = New IO.DirectoryInfo("C:\myfolder")
If f.Exists Then
f.Delete() --> error "the directory is not empty"
End If
How can I delete a folder with files underneath it ? Thank you.