I use a common dialog control for selecting files:
Private Sub cmdFileSelect_Click()
cdlgFiles.ShowOpen
If cdlgFiles.CancelError = False Then
If cdlgFiles.FileName <> "" Then
txtMas90Path = cdlgFiles.FileName
End If
End If
End Sub
I want the user to be able to select a directory, not a file. How do I do this?
Thanks for the help.
Private Sub cmdFileSelect_Click()
cdlgFiles.ShowOpen
If cdlgFiles.CancelError = False Then
If cdlgFiles.FileName <> "" Then
txtMas90Path = cdlgFiles.FileName
End If
End If
End Sub
I want the user to be able to select a directory, not a file. How do I do this?
Thanks for the help.