VB .NET : cuing up mulitple files in a Windows Media Player object
Posted on 2004-10-21
I'm using the windows media player (v9) from the SDK, embedded as a control in a windows form.
I am implementing a drag drop from an array of filenames.
I know how to set the URL property to play a particular file, but how do I cue up mulitple files. I do not want to mess around with the user's media library, i just want to duplicate the drag and drop multiple files into the "Now Playing" section.
Also, an oddity, i have to rem out the following line that is created when dragging the control from the toolbox in Visual Studio to the form (wmp is the name of the windows media player object):
Me.wmp.enabled = True
Otherwise i get an error message.
Most important to me is figuring out the cuing up multiple files, if anyone understands why i need to rem out that line i'd be grateful.