I have this code to open Folder view. I am not sure how to retreive name and path of the selected folder and assign it to a variable (string type) ..Help please
[code=vb]
Public shlShell As Shell32.Shell
Public shlFolder As Shell32.Folder
Const BIF_RETURNONLYF SDIRS = &H1
Public Sub Command2_Click( )
Set shlShell = New Shell32.Shell
Set shlFolder = shlShell.Browse ForFolder(Me.Hw nd, "Select a Folder", BIF_RETURNONLYF SDIRS)
End Sub
[/code]
[code=vb]
Public shlShell As Shell32.Shell
Public shlFolder As Shell32.Folder
Const BIF_RETURNONLYF SDIRS = &H1
Public Sub Command2_Click( )
Set shlShell = New Shell32.Shell
Set shlFolder = shlShell.Browse ForFolder(Me.Hw nd, "Select a Folder", BIF_RETURNONLYF SDIRS)
End Sub
[/code]
Comment