OpenState Property

Returns a Long value indicating the state of the control’s content source.

Syntax

MediaPlayer.OpenState

Remarks

Use the open state to determine the status of a request to open a title. The OpenState property can have the following values.

Constatnt Value Description
nsClosed 0 Content file is closed.
NsLoadingASX 1 Loading an .asx redirector file.
NsLoadingNSC 2 Loading an .nsc station file.
nsLocating 3 Locating the server.
nsConnecting 4 Connecting to the server.
nsOpening 5 Opening or listening for the stream.
nsOpen 6 Content file is open.

Each time the OpenState property changes an OpenStateChange event is fired by the server if the SendOpenStateChange property is True.

See Also

SendOpenStateChangeEvents, OpenStateChange

© 1996-1998 Microsoft Corporation. All rights reserved.