Visual Basic: Multimedia MCI Control

Wait Property (Multimedia MCI Control)

See Also   Example   Applies To

Determines whether the Multimedia MCI control waits for the next MCI command to complete before returning control to the application. This property is not available at design time.

Syntax

[form.]MMControl.Wait[ = {True | False}]

Remarks

The following table lists the Wait property settings for the Multimedia MCI control.

Setting Description
False Multimedia MCI does not wait until the MCI command completes before returning control to the application.
True Multimedia MCI waits until the next MCI command completes before returning control to the application.

The value assigned to this property is used only with the next MCI command. Subsequent MCI commands ignore the Wait property until it is assigned another (different or identical) value.

Data Type

Integer (Boolean)