FolderHasFiles – Returns whether the specified folder has files

' Returns a boolean indicating whether the specified folder has filesFunction FolderHasFiles(ByVal folderPath As String) As Boolean    Return System.IO.Directory.GetFiles(folderPath).Length > 0End Function

Share the Post:
Share on facebook
Share on twitter
Share on linkedin

Overview

Recent Articles: