i want to get the status (play/pause/stop) of windows media player from my application.
please help me.
thanks.
getting status of windows media player
Started by fotrosi, May 19 2008 12:36 AM
3 replies to this topic
#1
Posted 19 May 2008 - 12:36 AM
|
|
|
#2
Posted 20 May 2008 - 12:12 PM
Easy peasy. Add a COM reference to Windows Media Player (use wmp.dll) and import the WMPLib library into the project. Next, instantiate a WindowsMediaPlayerClass and use the object members within it to retrieve the status. :)
#3
Posted 21 May 2008 - 10:36 AM
thanks for your reply but i want to get the status of windows media player program, i don't want to play file with any control.
i want a form with a button and a label that when i press button, the status of windows media player show in the label.
windows media player is out of my program.
i want a form with a button and a label that when i press button, the status of windows media player show in the label.
windows media player is out of my program.


Sign In
Create Account

Back to top









