We value your feedback.
Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
Protected Function DeleteExistingBackup(ByVal strBackupPath As String) As Boolean Dim strFileList As String() Dim strFileName As String If Directory.Exists(strBackupPath) = True Then strFileList = Directory.GetFiles(strBackupPath, "*.bak") For Each strFileName In strFileList File.Delete(strFileName) Next Return True Else 'Directory does not exist Return False End If End Function
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.