Difference between revisions of "ConsoleApplication.ExecutableFile"

From Xojo Documentation

 
Line 14: Line 14:
 
To get the app executable name:
 
To get the app executable name:
 
<rbcode>
 
<rbcode>
Dim appName As String = App.ExecutableFile.Name
+
Var appName As String = App.ExecutableFile.Name
 
</rbcode>
 
</rbcode>

Latest revision as of 21:45, 16 July 2019

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:

Var appName As String = App.ExecutableFile.Name