ISExtShellBrowser.PathName

Description

The selected path name.

Syntax

object.PathName

Part Attribute Type Description
object Required
The object always implements the ISExtShellBrowser interface
Restriction: This property is readonly.

Return Value

string

Example

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   
Note:

Version information

Added in v7.8.0