SpecialFolder.Resource
From Xojo Documentation
Method
SpecialFolder.Resource(name As String) As FolderItem
New in 2019r2
Supported for all project types and targets.
New in 2019r2
Supported for all project types and targets.
Returns a FolderItem to the specified file in the app's Resources folder.
Notes
The provided name should be a file name, not a file path.
Sample Code
This is how you can get a file that is within a folder in Resources: