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.

C#

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

 

VB

 

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

 

Reference link: https://help.syncfusion.com/windowsforms/folder-browser/locationsettings

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