Articles in this section
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

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