R
Ronald S. Cook
In my Win app, I'm needing to load a media file into my Windows Media Player
control, and THEN read an attribute from the file.
The thing is, the file has to be playing for a split second before the
attribute can be read.
I can have wmpPlayer.URL = @"D:\Web\FWT\TestFile.wma"; in my form load event
and then a button on the form to get the value I need...
label1.Text = wmpPlayer.currentMedia.getItemInfo("Abstract");
But I don't want to have to manually click a button. I want the form to
load, start playing the file, and then somehow trigger an event to go and
get the attribute.
Thanks for any help.
Ron
control, and THEN read an attribute from the file.
The thing is, the file has to be playing for a split second before the
attribute can be read.
I can have wmpPlayer.URL = @"D:\Web\FWT\TestFile.wma"; in my form load event
and then a button on the form to get the value I need...
label1.Text = wmpPlayer.currentMedia.getItemInfo("Abstract");
But I don't want to have to manually click a button. I want the form to
load, start playing the file, and then somehow trigger an event to go and
get the attribute.
Thanks for any help.
Ron