End of AxWMPLib.AxWindowsMediaPlayer media playback event

G

Guest

Using VB in VS.NET 2003,
I have an app that plays audio clips triggered by clicks on nodes in a
TreeView control. This works great using the windows meduia player.... I've
just received a new requirement stating that if this is the 1st time this
audio clip has been played then it must be played to completion before other
tree nodes are selected.

My problem is knowing when the media player has finished playing the current
clip... I don't see any events associated with AxWMPLib.AxWindowsMediaPlayer
that provide this information.

Any ideas on how to solve this?

I guess that threading would do it but I'm a complete novie with threads...
any pointers would be appreciated!
 

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. After that, you can post your question and our members will help you out.

Ask a Question

Top