I have a problem while creating the browse for folder dialogue box in c#. how to set or display the complete path of selected directory in browse folder dialogue?
Please help me for a solution as while i run the code it doesnot show the complete path of the directory selected. it only shows the text display "Current Selection" in browse folder dialog.
private void selectDirectory_Click(object sender, System.EventArgs e)
string path = "";
FolderBrowserDialog fdlg = new FolderBrowserDialog();
fdlg.ShowNewFolderButton = false;
fdlg.Description = "Current Selection";
fdlg.SelectedPath = @"c:\";
//fdlg.RootFolder = Environment.SpecialFolder.Desktop; fdlg.ShowDialog();
DialogResult result = fdlg.ShowDialog();
if (fdlg.ShowDialog() == DialogResult.OK)