RobertoFreemano
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.dl l
and added them, but nothing appears in my toolbox :(
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.
Windows Media Player 1.0 c:\windows\system32\wmp.dl
and added them, but nothing appears in my toolbox :(
ASKER
Thanks Michael74 for for your post.... I followed example on
and Windows Media Player is listed in the references :(
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 :(
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for being so patient Michael ;)
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