Xojo.IO.FolderItem.URLPath

From Xojo Documentation

Read-Only Property (As Text )
TextValue = aXojo.IO.FolderItem.URLPath

Supported for all project types and targets.

The URL path of the FolderItem, which uses the form file://path/to/file. It can be used to load a local file into an HTML viewer.

Sample Code

Get the URL path for a file:

Dim urlPath As Text = myFolderItem.URLPath