Folder browsing dialog box in to select a particular path

Posted by Karthikanbarasan under VB.NET category on | Points: 40 | Views : 5627
Public Shared Function fnAskDirectory() As String
Dim objfolderBrowse As New FolderBrowserDialog
If objfolderBrowse.ShowDialog() = DialogResult.OK Then
Return objfolderBrowse.SelectedPath
Return ""
End If
End Function

Comments or Responses

Posted by: Sakthi.Singaravel on: 8/6/2012 Level:Silver | Status: [Member] | Points: 10
in this case FolderBrowserDialog throws error..

we need to add any reference..

i m new to WPF...

Login to post response