Hi All,

I'm having a problem with this one. This is my directory tree:

MAIN FOLDER
  -Second Folder
   -Third Folder
    -2012011 (folder)
    -INVALID (folder)

My input path in FolderBrowse is MAIN FOLDER. Now I used the code:

MsgBox(IO.Directory.GetDirectories(myFolder, SearchOption.AllDirectories)(0).ToString)

It throws an error. I just want to process the 2012011 folder. What should be my code? Thanks.

already figure it out.

commented: There is no solltion given -1

Hah! You got down.voted and I should down.vote your butt also for Not providing a solution and marking the thread as Solved.
.Hopefully it is a lesson learned and Not taken offensively.:)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.