I need to get all the folders names(one level) uner a certain root folder. I've tried 2 methods. The old Dir method and the 'dim di as new DirectoryInfo(PathTextBox.Text)' .... 'then di.GetDirectories()'. Both of these methods work for my local harddisks.
My problem is. I've got a mapped drive (a drive that is on a different pc on our lan) I've got full Access on this drive, but if I try to get folder names on this mapped drive, it gives me errors. The dir function give a unknown system

error and the DirectoryInfo method gives wrong

username or password erros.
Can You please give me

a solution or just ideas what I can do to read folder names from a mapped drive.
Thanx a million:D
Jaco