To be able to play multimedia files or multimedia devices, you have to insert Microsoft Multimedia Control into your VB application that you are going to create. However, Microsoft Multimedia Control is not included in the startup toolbox by default, you need to add the MM control by pressing Ctrl+T and select it from the components dialog box that is displayed.
19.1 Creating a CD player
In this program, you can create a CD player that resembles an actual CD player. It allows the user select a track to play, to fast forward, to rewind and also to eject the CD. It can also display the track being played. The interface and code are shown below.