Is there any way to set the initial directory of a folder browser dialog to a non-special folder? This is what I’m currently using
fdbLocation.RootFolder = Environment.SpecialFolder.Desktop;
but I want to use a path I have stored in a string something like this
fdbLocation.RootFolder = myFolder;
This causes an error “Cannot convert ‘string’ to ‘System.Environment.SpecialFolder'”.
Just set the
SelectedPathproperty before callingShowDialog.