R
Robert Dufour
Public Sub ChooseFolder()
If FolderBrowserDialog1.ShowDialog() = DialogResult.OK Then
TextBox1.Text = FolderBrowserDialog1.SelectedPath
End If
End Sub
First In Vs2005 the if statement is not correct, it says it will not be
evaluated.(wavy underlines on DialogResult.OKSecond my users need to be able
to navigate the network neighborhood and it does not seem to get selected. I
see that the only way would be to map a network folder then it would become
visible in the dialog. Is there a way to allow navigating thrue the network
neighborhood without mapping a folder?Thanks for any help,Bob
If FolderBrowserDialog1.ShowDialog() = DialogResult.OK Then
TextBox1.Text = FolderBrowserDialog1.SelectedPath
End If
End Sub
First In Vs2005 the if statement is not correct, it says it will not be
evaluated.(wavy underlines on DialogResult.OKSecond my users need to be able
to navigate the network neighborhood and it does not seem to get selected. I
see that the only way would be to map a network folder then it would become
visible in the dialog. Is there a way to allow navigating thrue the network
neighborhood without mapping a folder?Thanks for any help,Bob