Private Declare Function waveOutGetNumDevs Lib "winmm.dll" () As Long Private Sub Form_Load()Dim nDev As IntegernDev = waveOutGetNumDevs()If nDev > 0 ThenMsgBox "Your system supports a sound card.", vbInformationElseMsgBox "Your system cannot play Sound Blaster Files.", vbInformationEnd IfEnd Sub