Compartilhar via


Using the Windows Media Player Control in a .NET Framework Solution

[The feature associated with this page, Windows Media Player SDK, is a legacy feature. It has been superseded by MediaPlayer. MediaPlayer has been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer instead of Windows Media Player SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The Windows Media Player 9 Series or later ActiveX control supports embedding in .NET Framework applications. The following sections provide information specific to using the Windows Media Player control with the .NET Framework.

Section Description
Using the Windows Media Player Control with Microsoft Visual Studio Provides details about adding the Windows Media Player 9 Series or later control to a Visual Studio solution.
Embedding the Windows Media Player Control in a C# Solution Provides instructions for creating a simple C# application that uses the Windows Media Player control.
Embedding the Windows Media Player Control in a Visual Basic .NET Solution Provides instructions for creating a simple Visual Basic .NET application that uses the Windows Media Player control.
Creating the Windows Media Player Control Programmatically Describes how to create a Windows Media Player control in an application without using the Visual Studio Toolbox.
About .NET Framework Data Types Provides the information needed to translate the script-oriented Object Model Reference into .NET Framework base data types.

 

Player Control Guide