Function FolderSelectDialog

 

Function FolderSelectDialog( ByRef sTitle$, ByRef sInitDir$ ) As String

 

Purpose: Invoke dialog box for folder selection

Works in:      OneLiner and Power Flow.

Parameters:     

sTitle        [in] Dialog box title text

sInitDir      [in] Initial selection

Return value:      Full path name of the folder or blank string if user pressed cancel.

Remarks:

Example:

 

sPath$ = FolderSelectDialog( "Data folder", "c:\" )

Print sPath