Posted by : Ehsan Ali Tuesday, 12 June 2012


Before creating a new project, make sure that the latest version of Windows Media Player and the Windows Media Player SDK is installed on your computer.
Start Visual Studio, then create a new project.
In Visual Studio, open the Toolbox.
If Windows Media Player does not appear in the Components portion of the Toolbox, do the following:
  1. Right-click within the Toolbox, and then select Choose Items. This opens the Customize Toolbox dialog box.
  2. 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.
  3. Click OK. The Windows Media Player control will be placed on the current Toolbox tab.
You can now select Windows Media Player in the Toolbox and add it to a form.
Visual Studio gives the Windows Media Player control a default name such as "axWindowsMediaPlayer1". You may want to change the name to something more easily remembered, such as "Player".
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

Leave a Reply

Subscribe to Posts | Subscribe to Comments

Welcome to My Blog

Popular Post

Blogger templates

My Blog List

yyyyyu

yyyy

Total Pageviews

3333

3333
eeeee

seeeees

Powered By Blogger
Powered by Blogger.

Followers

Search This Blog

Popular Posts

Popular Posts

- Copyright © FileVippo -Robotic Notes- Powered by Blogger - Designed by Johanes Djogan -