- Home
·
- Miscellaneous
·
- Can you select a FOLDER in VB and return its path, if not here is a code to select a FOLDER.
Can you select a FOLDER in VB and return its path, if not here is a code to select a FOLDER.
Can you select a FOLDER in VB and return its path, if not here is a code to select a FOLDER.
API Declarations
Private shlShell As Shell32.Shell
Private shlFolder As Shell32.Folder
Private Const RETURNONLYFSDIR = &H1
Rate Can you select a FOLDER in VB and return its path, if not here is a code to select a FOLDER.
(1(1 Vote))
Set shlShell = New Shell32.Shell
Set shlFolder = shlShell.BrowseForFolder(Me.hWnd, "Select a Folder.......", RETURNONLYDIR)
If Not shlFolder Is Nothing Then
MsgBox shlFolder.Self.Path
End If
End Sub
Can you select a FOLDER in VB and return its path, if not here is a code to select a FOLDER. Comments
No comments yet — be the first to post one!
Post a Comment