VB Code:
'Make a reference to Microsoft Shell Controls and Automation Dim sh As New Shell32.Shell Dim str1 As Shell32.Folder2 Set str1 = sh.BrowseForFolder(Me.hWnd, "Select a Folder", 0, ssfDRIVES) If Not str1 Is Nothing Then MsgBox str1.Self.Path End If




icon on the left of the post.
Reply With Quote