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