ISExtShellBrowser.Execute

Description

This function returns True if a user executed the path selection.

Syntax

object.Execute()

Part Attribute Type Description
object Required
The object always implements the ISExtShellBrowser interface

Return Value

bool

Returns True if a user executed the path selection.

Example

Display the folder select dialog and the result of the path selection executed by a user.

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