Search code examples
vb.netwmpasx

Reading custom param values from ASX file in WMP control


Does anybody have an idea how to read the values from custom fields in a WMP ASX Metafile?

I know its possible as I'd done it in a VB6 app i'd done a while back (which i've lost the source to), but am now trying to do it in a VB.net project.

I've tried searching Microsofts MSDN documentation online, but havent found anything yet.


Solution

  • Typical...after weeks of searching, on the day i ask for help, i find it!!

    In case anyone else is wondering, you need to use

    currentMedia.getItemInfo()
    

    More info is available on this MSDN page