Answers for "visual studio 2019 browse file dialog to get folder path"

C#
-1

c# file directory selection

CommonOpenFileDialog dialog = new CommonOpenFileDialog();
dialog.InitialDirectory = "C:\Users";
dialog.IsFolderPicker = true;
if (dialog.ShowDialog() == CommonFileDialogResult.Ok)
{
    MessageBox.Show("You selected: " + dialog.FileName);
}
Posted by: Guest on August-05-2020

Code answers related to "visual studio 2019 browse file dialog to get folder path"

C# Answers by Framework

Browse Popular Code Answers by Language