FolderItem.URLPath

From Xojo Documentation

Read-Only Property (As String )
StringValue = aFolderItem.URLPath

New in 2005r1

Supported for all project types and targets.

Returns a URL for the FolderItem that can be passed to ShowURL and other methods that require a valid URL.

Example

Var f As New FolderItem
f = FolderItem.ShowOpenFileDialog("????")

If f.URLPath <> "" Then
MessageBox(f.URLPath)
Else
MessageBox("The URLPath is null")
End If