Has anyone tried the directory namespace in VB.NET?
Theoretically this will work:

Dim path as String
path = "\\MyServerName\MyShare"
Directory.GetDirectories(path)

this should return a one dimensional array of all the directories located
at \\MyServerName\MyShare..unfortunately i always get the error invalid username
and password .... how do i corrrect this?