Does anybody know how to play .cda tracks directly from the CD using vb5.
Printable View
Does anybody know how to play .cda tracks directly from the CD using vb5.
Hey Young Buck,
Drop a Multi-Media control on a form and place this in the click event of a button:
Now you can rock and roll and code at the same time.Code:Private Sub Command1_Click()
MMControl1.Notify = False
MMControl1.Wait = True
MMControl1.Shareable = False
MMControl1.DeviceType = "CDAudio"
MMControl1.FileName = "G:\Track01.cda" ' G is of course the drive of my CDROM
' Open the MCI WaveAudio device.
MMControl1.Command = "Open"
End Sub