This is a snippet to retrieve a list of songs from a music CD in the CDROM Drive. This is used in conjunction with the AxWindowsMediaPlayer (wmp.dll). This snippet uses the IWMPPlaylist Interface to g
This is a snippet to retrieve a list of songs from a music CD in the CDROM Drive. This is used in conjunction with the AxWindowsMediaPlayer (wmp.dll). This snippet uses the IWMPPlaylist Interface to gain access to the playlist on the CD
[b]
Instructions:[/b] First, you need a reference to wmp.dll:
1. Click Projects > Add Reference
2. Click the COM tab
2. Scroll down and select Windows Media Player (wmp.dll)
Next you need a reference to AxWMPLib
The pass your player object to the method, and it will return a string array of the songs on the CD
<">