• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3614
  • Last Modified:

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 :(
0
RobertoFreemano
Asked:
RobertoFreemano
  • 3
  • 2
1 Solution
 
Michael FowlerSolutions ConsultantCommented:
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
0
 
RobertoFreemanoAuthor Commented:
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 :(
0
 
RobertoFreemanoAuthor Commented:
Am i missing something - please?
tools.JPG
ref.JPG
0
 
Michael FowlerSolutions ConsultantCommented:
Roberto

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

http://msdn.microsoft.com/en-us/library/bb383953.aspx

Michael
0
 
RobertoFreemanoAuthor Commented:
Thanks for being so patient Michael ;)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now