Free Web Hosting Provider - Web Hosting - E-commerce - High Speed Internet - Free Web Page
Search the Web

MW-Menu

 

Free Visual BASIC Newsletter

Features

Tips

Sample Code

Newsletters

Products

ActiveX

Cool Links

 

 

 

 

 

 

 

 

 

 

 

 

 

Determining Whether A Sound Card Is Installed

You can easily determine whether a sound card is installed, by using the following function.

Private Declare Function waveOutGetNumDevs Lib "winmm" () As Long

Public Function IsSoundCard() As Boolean
If waveOutGetNumDevs() > 0 Then IsSoundCard = True
End Function

True is returned if a sound card is installed and false if not.

Home

___________________________________________

Send Bugs, comments to the webmaster at webmaster@mwe.8m.com

Terms of Use

© 1999 MW Software, all rights reserved