LastBuildPath
Returns the full path to the output file produced by the most recent build. Read-only.
Syntax: object.LastBuildPath
- object
- required An object expression that evaluates to an _App object. In practice this is the global App object.
LastBuildPath returns the complete file-system path, including the file name and extension, of the executable or DLL most recently compiled from this project. When no build has been performed in the current IDE session, the property returns an empty string.
Note
LastBuildPath is a twinBASIC-specific property with no equivalent in VBA or VB6. It is only meaningful during IDE-hosted execution; in a compiled executable it returns an empty string.
Example
This example prints the last build path to the debug console.
Debug.Print "Last build: " & App.LastBuildPath
See Also
- Path property
- ModulePath property
- EXEName property