Members

Technology Zones

Articles

Hosted By

MaximumASP

Info

Rated
Read 7,075 times

Related Categories

Putting Sound in your VB app

site image Putting Sound in your VB app
http://www.listensoftware.com/playsnd.htm   RSS feed

http://www.listensoftware.com/playsnd.htm There is no direct way to play a sound file in visual basic. There is a command to put a beep in the program but not play a sound file. The way to play sound files is to use an API command "PlaySound". This command will play a .wav file or a system sound that is already setup in your registry, like "Exit Windows". There is also an API command called "SndPlaySound". It is a subset of the "PlaySound" command and is no longer the preferred command to use.

Comments