Here is how to detect if there's a sound card (or the speaker driver) installed on a system:
Declare Function waveOutGetNumDevs Lib "mmsystem.dll" () As Integer
This function returns the number of wave ouput devices installed. If it returns 0, there's none.
|