ModulePath Property (AApp)

Returns the full pathname of the application EXE file.

Syntax

[ sModulePath = ] Object.ModulePath

The ModulePath property syntax has the following parts:

 

Name

Type

Description

Object

AApp

AApp control

sModulePath

BString

The string used for the full pathname of the application EXE file.

Comments

When running from the IDE the path returns is the path of the EXE as specified in the Project properties Target File. To determine if the application is running from the IDE use the DebugLog variable.

Example

The following statement prints the full pathname of the application EXE file:

print "Running "; App.ModulePath

The following statement effectively recreates the command line entered by the user to run the application EXE file:

sCommand = App.ModulePath + App.CommandLine

Applies to

AApp

See Also

CommandLine, DebugLog