ConsoleApplication.ExecutableFile

From Xojo Documentation

Read-Only Property (As FolderItem )
FolderItemValue = aConsoleApplication.ExecutableFile

Supported for all project types and targets.

Points to the actual executable file even if it is inside a bundle.

Sample Code

To get the app executable name:

Dim appName As String = App.ExecutableFile.Name