Link to home
Start Free TrialLog in
Avatar of RobertoFreemano
RobertoFreemanoFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Unable to find ("AxWindowsMediaPlayer") reference (vb.net)

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 :(
Avatar of Michael Fowler
Michael Fowler
Flag of Australia image

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.

http://msdn.microsoft.com/en-us/library/windows/desktop/dd564585%28v=vs.85%29.aspx

Michael
Avatar of RobertoFreemano

ASKER

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 :(
Am i missing something - please?
tools.JPG
ref.JPG
ASKER CERTIFIED SOLUTION
Avatar of Michael Fowler
Michael Fowler
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks for being so patient Michael ;)