Articles in this section
Category / Section

How to set the custom Startup location in WinForms FolderBrowser?

1 min read

Start location

To set the user defined StartLocation for the FolderBrowser Dialog, set the StartLocation property to FolderBrowserFolder.CustomStartLocation and then assign the desired directory path to the CustomStartLocation path of the FolderBrowser component.


this.folderBrowser1.StartLocation = FolderBrowserFolder.CustomStartLocation;
this.folderBrowser1.CustomStartLocation = textBox1.Text;




Me.folderBrowser1.StartLocation = FolderBrowserFolder.CustomStartLocation
Me.folderBrowser1.CustomStartLocation = textBox1.Text


Reference link:

Did you find this information helpful?
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment