The selected path name.
object.PathName
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISExtShellBrowser interface |
string
Display the folder select dialog and the path name if a user did the path selection.
Dim aBrowser
Dim aResult
Set aBrowser = Profile.CreateExtShellBrowser
aBrowser.Caption = "Shell Browser"
aBrowser.Prompt = "Select a folder"
aBrowser.RootPath = "D:"
aBrowser.InitialPath = "D:\Build"
aResult = aBrowser.Execute
if aResult then
Profile.MsgBox(aBrowser.PathName)
else
Profile.MsgBox("User cancelled the path selection")
end if