Unable to find ("AxWindowsMediaPlayer") reference (

Posted on 2012-09-18
Last Modified: 2012-09-21
Hi Experts,

I'm trying to create a winform which will play 'AxWindowsMediaPlayer' video.

I have VB 2010 Express...
1 add reference../Add../COM...
So far I've found:
Microsoft ActiveMovie Control
Windows Media Player 1.0 c:\windows\system32\msdxm.tlb
Windows Media Player 1.0 c:\windows\system32\wmp.dll

and added them, but nothing appears in my toolbox :(
Question by:RobertoFreemano
    LVL 23

    Expert Comment

    axWindowsMediaPlayer1 is the defaut name of the control

    Adding the Windows Media Player control from the Toolbox also adds references to two libraries created by Visual Studio, AxWMPLib and WMPLib. You can find them in the Solution Explorer under References.


    Author Comment

    Thanks Michael74 for for your post.... I followed example on

    if Windows Media Player does not appear in the Components portion of the Toolbox, do the following:

        Right-click within the Toolbox, and then select Choose Items. This opens the Customize Toolbox dialog box.
        On the COM Components tab, select Windows Media Player.

        If Windows Media Player does not appear in the list, click Browse, and then open Wmp.dll, which should be in the Windows\System32 folder.
     Click OK. The Windows Media Player control will be placed on the current Toolbox tab.

    and Windows Media Player is listed in the references :(

    Author Comment

    Am i missing something - please?
    LVL 23

    Accepted Solution


    OK now I see what you are after. This link runs you through adding the control into visual studio tools


    Author Closing Comment

    Thanks for being so patient Michael ;)

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
    A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
    Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
    This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now