• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3064
  • 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

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

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