Set folder browser dialog start location

后端 未结 6 503
长情又很酷
长情又很酷 2020-12-24 11:02

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 = Envir         


        
6条回答
  •  生来不讨喜
    2020-12-24 11:46

    Just set the SelectedPath property before calling ShowDialog.

    fdbLocation.SelectedPath = myFolder;
    

提交回复
热议问题