on-internet
← Community

FolderBrowserDialog on company network to select subfolder

Stack Overflow ·

In my WPF app the user needs to select a folder, which path is in the company network. I use the System.Windows.Forms.FolderBrowserDialog and the following code gets executed on a button click event: FolderBrowserDialog fbd = new FolderBrowserDialog(); fbd.SelectedPath = "\\\\company.net\\data\\_Confidential"; DialogResult result = fbd.ShowDialog(); When the FolderBrowserDialog opens, the system automatically scans for other network devices and that causes the following problem: The network tree gets filled with other devices and causes my SelectedPath to scroll away. This is pretty annoying w

Comments

Sign in or sign up to comment and upvote.

No comments yet.