Getting Address bar in FolderBrowserDialog
-
I am using FolderBrowserDialog to Browse for folder I want to show the address in textbox also which I select in FolderBrowserDialog or can directly type the address of folder in textbox instead of selecting it from tree view control FolderBrowserDialog obj=new FolderBrowserDialog(); obj.ShowNewFolderButton=true;
Ankit Aneja "Nothing is impossible. The word itself says - I M possible"
-
I am using FolderBrowserDialog to Browse for folder I want to show the address in textbox also which I select in FolderBrowserDialog or can directly type the address of folder in textbox instead of selecting it from tree view control FolderBrowserDialog obj=new FolderBrowserDialog(); obj.ShowNewFolderButton=true;
Ankit Aneja "Nothing is impossible. The word itself says - I M possible"
Hi sweety , it's very easy . enjoy it : // Initialize FolderBrowserDialog FolderBrowserDialog folderBrowserDialog = new FolderBrowserDialog(); // If dialogResult result is OK then set txtAddress by folderBrowserDialog // SelectedPath's property . if (folderBrowserDialog.ShowDialog() == DialogResult.OK) { string selectedPath = folderBrowserDialog.SelectedPath; txtAddress.Text = selectedPath; } have a good time.
DMASTER
-
Hi sweety , it's very easy . enjoy it : // Initialize FolderBrowserDialog FolderBrowserDialog folderBrowserDialog = new FolderBrowserDialog(); // If dialogResult result is OK then set txtAddress by folderBrowserDialog // SelectedPath's property . if (folderBrowserDialog.ShowDialog() == DialogResult.OK) { string selectedPath = folderBrowserDialog.SelectedPath; txtAddress.Text = selectedPath; } have a good time.
DMASTER
I want it on folder browser dialog which gets opened on clicking browse button
Ankit Aneja "Nothing is impossible. The word itself says - I M possible"