My directory structure is like below.
Parent directory
---Sub directory 1
---Sub directory 2
------Sub directory2a
------Sub directory2b
---Sub directory 3
The Directoryinfo object can provide all sorts of information and about a directory, including directories / Files even system files
Private Sub Form1_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load
Dim dir As New DirectoryInfo("C:\")
For Each dirItem As DirectoryInfo In dir.GetDirectories
MsgBox(dirItem.Name)
Next
End Sub