What is the ExeName Property in DelphiVCL.Application?
By Muhammad Azizul Hakim July 6, 2021
The ExeName property or DelphiVCL.Application.ExeName contains the file name of the application’s executable file including path information.
Use ExeName to obtain the name of the executable file for the application. ExeName is the fully-qualified name, including the path to the application’s executable.
ExeName is a read-only property.
See the responses in our Windows command prompt:
You can also read short information about the DelphiVCL.Application.ExeName using the print() command:
By Muhammad Azizul Hakim July 6, 2021
The ExeName property or DelphiVCL.Application.ExeName contains the file name of the application’s executable file including path information.
Use ExeName to obtain the name of the executable file for the application. ExeName is the fully-qualified name, including the path to the application’s executable.
More things about ExeName you need to know
The name of the application is the root name of the project with an .EXE extension. By default, this name is PROJECT1.EXE. To change the ExeName, save the project by the desired new root name and rebuild the application. ExeName will reflect the change to the project file name.ExeName is a read-only property.
How to find details on all the properties and methods of the DelphiVCL application
Let’s browse all the properties, methods, and built-in properties of the DelphiVCL.Application.ExeName using dir() command:
Python:
import DelphiVCL
dir(DelphiVCL.Application.ExeName)
You can also read short information about the DelphiVCL.Application.ExeName using the print() command:
Python:
print(DelphiVCL.Application.ExeName)
print(DelphiVCL.Application.ExeName.__doc__)