C
CSharp
C++
Java
Visual Basic
HTML - CSS
Android
Asp
Asp.Net
Php
Python
JavaScript
SQL
XML
Assembly
ActiveX
API
Code Snippets
Database
Files Directories Drives
Forms
Graphics Games
Multimedia
Strings
Windows and Controls
More...
Visual Basic > Code Snippets sample source codes
Visual Basic Code > Detect if a sound card exists
Detect if a sound card exists Private Declare Function waveOutGetNumDevs Lib "winmm.dll" () As Long Private Sub Form_Load() Dim nDev As Integer nDev = waveOutGetNumDevs() If nDev > 0 Then MsgBox "Your system supports a sound card.", vbInformation Else MsgBox "Your system cannot play Sound Blaster Files.", vbInformation End If End Sub
Privacy Policy
|
Contact
|
Advertising
|
Link to Us
|
Directory