by Mark Wills (2 Submissions)
Category: Sound/MP3
Compatability: Visual Basic 3.0
Difficulty: Beginner
Date Added: Wed 3rd February 2021
Rating: (3 Votes)
The .BAS module for your VB programs that gives you full access to the Audio CD player functionality of your CD Rom(s) on your PC. It includes a test project and functions such as OpenCD, CloseCD, GetCDID, GetCDLength, PlayCD, StopCD, MediaPresent, GetNumberOfTracks, SetCurrentTrack and several more. Should work in ANY version of Windows, and has been tested in VB5 and 6. Please feel free to use this code, and let me know if you find it useful, or find any problems with it etc. I wrote it about two years ago, but it still works fine in Win2k!
Inputs
Simply include in the .BAS module in your project. See the comments in the .BAS module for instructions on how to use the library. Also look at the code in the test project.
Code Returns
Most of the routines return true or false, depending upon if they were successful or not.
Side Effects
None that I know of.
Upload