Main Menu

HOME

.Net
ASP
Assembly
C
C++
Delphi
HTML
Java
JavaScript
MySQL
PC interface
Powershell
Perl
PHP
VBScript
Visual Basic
XML

US Job listings




   Misc

   Amazon

   Links

    


Soundcard present
 

 

 'check whether you can play audio files

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

 

 

 

 

 




   Sponsors
 

   Software
500 Java Tips E-book
PHP editor
PERL editor
Beginning Java
Beginning Visual Basic
Learn VB.net
Learn VB 6
VB and databases
ASP image library
C++ builder programming
C++ fundamentals

   Source Code
decimal to octal conversion(PHP)
Display when a file was created and last accessed(C Sharp)
if / else grades example(Java)
typewriter status bar(Javascript)
Basic currency conversion(PHP)
File attributes(C)
Read part of a file(ASP)
Beep(VB)

    




Copyright © 2003 by programmershelp.co.uk