If you are using Visual Studio, you can use the API. To do this:
- Right click anywhere in the toolbox
- In the COM Components tab, select Windows Media Player
- In the toolbox, there should now be a Windows Media Player item.
Using this method makes it much easier and saves a lot of time, if there are any problems take a look at this.
Hope this helps.