Login | Register   
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: VB7
Expertise: beginner
Apr 14, 2003

FolderHasSubFolders - Returns whether the specified folder has sub-folders

' Returns a boolean indicating whether the specified folder has sub-folders
Function FolderHasSubFolders(ByVal folderPath As String) As Boolean
    Return System.IO.Directory.GetDirectories(folderPath).Length > 0
End Function
Marco Bellinaso
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap