![]() |
Previous | Next |
These objects govern the error-handling capabilities of Windows Media Player. The Error object is obtained from the Player through the error property. You can get a specific code from the Error object by using the item property of the Error object to create the ErrorItem object. For example, to get the error code of the first error item, type:
myerrorcode = player.error.item(0).errorCode
You can also invoke Web Help with the Error object by using the following code:
player.error.webHelp()
Previous | Next |