Folder browsing dialog box in to select a particular path

Posted by Karthikanbarasan under VB.NET category on | Points: 40 | Views : 6035
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

Login to post response