patriciaxxx
Programmer
I have a Windows media player control, named windowsmediaplayer1, on an Access 2003 form. In the code I have Dim WMP as Object (have tried WindowsMediaPlayer with reference to OCX).
I’m trying to remove
1) All playlists
2) Selected playlists (ie ones which I name)
Have tried the following:
But it doesn’t work?
I’m trying to remove
1) All playlists
2) Selected playlists (ie ones which I name)
Have tried the following:
Code:
Dim newPlayList As WMPLib.IWMPPlaylist
Set newPlayList = windowsmediaplayer1.playlistCollection.Remove("MyPlaylist")
But it doesn’t work?