Jaruzel.com

Play and Stop a Specified Wave File and System Sound


'
'This will Play a Wave file from the specified Path, Play a selected system Sound and Stop a
'sound that is playing.
'
My.Computer.Audio.Play("C:\WINDOWS\Media\Windows XP Default.wav", AudioPlayMode.Background)

My.Computer.Audio.PlaySystemSound(Media.SystemSounds.Beep)

My.Computer.Audio.Stop()