[newbie, be gentle] wmp actX -- looking for "play finished" event

Discussion in 'Windows Media Player' started by mr_unreliable, Aug 22, 2006.

  1. hi gang,

    I have been searching msdn and the ng archives for an event
    which will tell me when the wmp actX control has finished
    playing my mp3 file (so I can close the player).

    The only thing I can find is to periodically check the
    oWMP.PlayState property for "mpPlaying" or "mpPaused",
    with the assumption that if the playState is neither,
    then the playing must be finished.

    Is there a better way, or is there an event that will
    tell me that wmp has finished playing the file???

    cheers, jw
    mr_unreliable, Aug 22, 2006
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.