Monday, December 1, 2008

Windows Application - To retrieve folder Path

Hi,
To retrieve the path of the folder location in Dotnet.We have folderbrowseDialog similar to File BrowserDialog control..

DialogResult result=folderBrowserDialog1.ShowDialog();
if (result == DialogResult.OK)
{
textBox1.Text = folderBrowserDialog1.SelectedPath;
}

No comments: