Check out the GetDir() in the Visual FoxPro Toolkit for .NET available at
http://www.gotdotnet.com/team/vfpThe VB .NET and C# source for the Toolkit are also available for download.
I would recommend that you use the Toolkit directly in your .NET project (57K)
Kamal
>Hi everybody !
>
>I know my question seems easy, but I can't find anything on it. I know the OpenFileDialog which returns file(s) selected... Is there any equivalent to return the directory selected ? In my case, I want the entire directory (to process all files in it) and now the only way I know is to select all the files of the directory !!
>
>
>Thanks a lot in advance.