SpecialFolder.GetResource

From Xojo Documentation

Method

SpecialFolder.GetResource(name As String) As FolderItem

New in 2018r2

Supported on Desktop, Web, Console.

Returns a FolderItem to the specified file in the app's Resources folder.

Sample Code

Var file As FolderItem = SpecialFolder.GetResource("MyDb.sqlite")