Click here to Skip to main content
15,885,244 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
How to open from a Particular Folder using FolderBrowser Dialog ?

C#
using (FolderBrowserDialog folderBrowser = new FolderBrowserDialog())
               {

SQL
folderBrowser.RootFolder = Environment.SpecialFolder.MyDocuments;

SQL
folderBrowser.SelectedPath = "C:\Users\XYZ\Documents\Root\Parent\Child\";
                       folderBrowser.ShowNewFolderButton = false;


My path is C:\Users\XYZ\Documents\Root\Parent\Child\

Child folders has 5 sub folders .
So it should open from Child Folder

But it it scrolled till Child folder ,ideally the child folder should expand in the Dialog Window.
not working any Idea Please!

with regards,
Rohit
Posted

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900