APPEXENAME$ function

Purpose: APPEXENAME$ returns the filename of the executing program.


 Syntax:

 ExeName$ = APPEXENAME$

 Parameters:

  • None.

 Return Value:

  • ExeName$ is a string containing the filename of the executing program.

Example:


 DIM ExeName$
 
 ExeName$ = "This program is " & APPEXENAME$
 
 MSGBOX ExeName$, "I know who I am!", MB_ICONINFORMATION