Category / Section
How to set the StartLocation path for the WinForms FolderBrowser Dialog?
1 min read
Start location
There are several predefined StartLocation values for the FolderBrowser Dialog.Some of them are “My Computer”, “Desktop”, “Fonts” and many more to mention.
To set the StartLocation property use the following code snippet.
C#
this.folderBrowser1.StartLocation = FolderBrowserFolder.Desktop;
VB
Me.folderBrowser1.StartLocation = FolderBrowserFolder.Desktop
Reference link: https://help.syncfusion.com/windowsforms/folder-browser/locationsettings