I am building an application that will allow users to select a folder on our file server. I want the folder browser dialog default location to be a certain folder on our file server. So far I can only get the folder browser to work locally. Is this possible? Also, If I can get the folder browser dialog to scroll down to this folder that would be great!
Path I want to use: \\FileServer\Folder
Here is the code I have so far:
Code:Private Sub Button12_Click_1(sender As Object, e As EventArgs) Handles Button12.Click FolderBrowserDialog1.RootFolder = Environment.SpecialFolder.MyComputer FolderBrowserDialog1.SelectedPath = "\\FileServer\Folder" If FolderBrowserDialog1.ShowDialog = DialogResult.OK Then MsgBox(FolderBrowserDialog1.SelectedPath) End If End Sub




Reply With Quote
