Creating the WMP object

The easiest place to start investigating the WMP object is to simply instantiate it in the command window and start playing.

oObject = CREATEOBJECT('WMPlayer.OCX.7')
(How did we know the ID was 'WMPlayer.OCX.7'? See here for how to subclass the object and determine this)

Here's the intellisense displayed in the Command Window



Last Updated: 25/07/2005