Search code examples
c#wpfvisual-studio-2015axwindowsmediaplayer

Windows media player control not enabled in the active desginer VS 2015 Community


I'm trying to load the WMP control into my WPF project using this guide.

When I try and do this, I get the following error message: The following controls were successfully added to the toolbox but are not enabled in the active designer.

I'm using Visual Studio 2015 Community (Version 14.0.25431), and targeting .NET Framework 4.6.2. I've tried targeting old versions, as well as moving the DLL into my project folder and adding a reference from there with no luck.


Solution

  • As Hans told me, I was using a guide for Winforms. This article shows you how to embed the Winforms control in WPF.