Visual Basic Reference

Visual Studio 6.0

AppIsRunning Property

See Also    Example    Applies To

Returns or sets a value that indicates whether the application that created the object in the OLE container control is running. Not available at design time.

Syntax

object.AppIsRunning [= boolean]

The AppIsRunning property syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
boolean A Boolean expression specifying whether or not the application that produced the object in the OLE container control is running, as described in Settings.

Settings

The settings for boolean are:

Setting Description
True The application that produced the object in the OLE container control is running.
False The application that produced the object in the OLE container control isn't running.

Remarks

You can set the value of the AppIsRunning property to start the application that produces the object in the OLE container control. Doing this causes objects to activate more rapidly. You can also set this property to False to close the application when the object loses the focus.

Show: