I will keep this thread going for all who use VFP. Contributions welcome:
I altered some C++ code to VFP and got it to work. Here it is:
--------------------------------------------------------------
* Create the object
oWMP = CREATEOBJECT("WMPlayer.OCX")
* Retrieve the first media item from Media Library
firstMedia = oWMP.mediaCollection.getAll().item(0)
* Make the retrieved media item the current media item.
oWMP.currentMedia = firstMedia
* Display the name of the current media item.
?"Found first media item. Name = " + oWmp.currentMedia.name
--------------------------------------------------------------
By changing the item(0) to a different number item(5) or item(55) etcetera
you can navigate through the WMP playlist.
I ain't skeert of nuttin eh?
Yikes! What was that?