Windows Media Player SDK banner art
PreviousNext

Inserting the Windows Media Player Control

This topic applies to Windows Media Player version 6.4 only.

First add the Windows Media Player control to the form. Change the FileName property to the name of a multimedia file on your computer (for example, C:\ASFRoot\Welcome.asf).

Change the AutoStart property to false and the AutoRewind property to true. You will add a custom user interface to the form, so change the ShowControls property to false.

Set the ClipControls property to false. By default, Visual Basic sets this property to true. When the Windows Media Player control is embedded in a Visual Basic form, however, this property must be false to avoid problems in repainting.

PreviousNext


© 2000-2001 Microsoft Corporation. All rights reserved.