If you are using the 1.1 Framework - there's a FolderBrowserDialog.
However the 'easy' way to do this is to use a Treeview to simulate windows
explorer for instance - use the DirectoryInfo class to populate the
directories and the FileInfo class to populate the file information.
This should get you through it
http://www.codeproject.com/csharp/Ad...leExplorer.asp
--
W.G. Ryan, MVP
www.tibasolutions.com |
www.devbuzz.com |
www.knowdotnet.com
"Shahzad Atta" <sh*****@nxvt.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Hi All,
I am using visual studio .net with C#. I need to take directory path input
from user. First I thought to use fileopen dialog but that will allow the
user to select files. However, what I want is that user should be able to
pick directories only not files. Any idea how to do that ?
Regards,
Shahzad Atta.