Windows Media Player Control SDK Banner Art
*Contents *Index  *Topic Contents
*Previous Topic: DblClick
*Next Topic: DisplayModeChange

Disconnect Event

Occurs when the Microsoft® Windows Media™ Player control is disconnected from the server.

Syntax

JScript
<SCRIPT FOR="MediaPlayer" EVENT="Disconnect(lResult)" LANGUAGE="JScript">
    //insert script commands//
</SCRIPT>
VBScript
<SCRIPT LANGUAGE="VBScript">
Sub MediaPlayer_Disconnect(lResult)
    //insert script commands//
End Sub
</SCRIPT>

Parameters

lResult Long value specifying the cause of the disconnection.

Remarks

A disconnection can be caused by a network problem, a problem with the server, or other factors.


Top of Page Top of Page
© 1999 Microsoft and/or its suppliers. All rights reserved. Terms of Use.