Quantcast
Channel: Windows Forms General forum
Viewing all articles
Browse latest Browse all 12583

FolderBrowserDialog SelectedPath problem

$
0
0

I'm using a FolderBrowserDialog and setting the RootFolder to Environment::SpecialFolder::MyComputer. The problem I'm having is that the SelectedPath property is being ignored. If I use any other RootFolder, such as Environment::SpecialFolder::Personal, the SelectedPath property sets the folder view as expected. The problem seems to be specific to setting the RootFolder to MyComputer. Is there some special way I need to set the SelectedPath Property when using MyComputer as the RootFolder? Or is the SelectedPath property simply not valid when setting RootFolder to MyComputer? Thanks for any help.

- Jon


Viewing all articles
Browse latest Browse all 12583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>