IsRunningAsSolution

Description

Reports whether the current application is running as a solution or workspace.

Syntax

IsRunningAsSolution ( )

Return value

Boolean.

Returns true if the current application is running as a solution and false if it is running as a workspace.

Examples

This example executes the scripts only when the application is running as a solution:

Boolean lb_IsSolution
lb_IsSolution = IsRunningAsSolution()
If lb_IsSolution Then
       …
End If