Ahh now I see what is confusing you.

When I write use Application.ExeName I mean that literally.

You see in modern pascal dialects the Application is actually a global variable for TApplication class which contains several properties and methods. Best example of seeing this in use is looking ath the source of your project file (*.dpr file).

And one of its properties is ExeName which contains full filename of your application executable.