1
Answer

selecting folders

S B  Ray

S B Ray

17y
2.7k
1
I am writing a ASP.NET 2.0 web based application in which
I want the user to create & select a Folder using Windows Explorer.After the user creates and selects the folder, on pressing OK I should be able to get the PATH of the folder for storing in a database.

The problem is that there is nothing like FolderBrowserDialog in WinForms which allows me to select a Folder and get its path.

I got a good article in Code project but its written in VC++ 6.0.The article is

http://www.codeproject.com/dialog/cfolderdialog.asp

Can someone provide me the equivalent code in VC# Visual Studio 2005 or help me write a similar code. It will be greatly appreciated.

Thanks in advance.
Answers (1)