Playing Sounds (Visual Basic)
The My.Computer.Audio object provides methods for playing sounds.
In This Section
How to: Play Sounds in Visual Basic
Demonstrates how to play a sound from a sound file or application resource in the background.How to: Play Looping Sounds in Visual Basic
Demonstrates how to play a sound from a sound file or application resource as a continuous loop.How to: Stop Playing Sounds in the Background in Visual Basic
Demonstrates how to stop a sound playing in the background.How to: Play System Sounds in Visual Basic
Demonstrates how to play a system sound.
Reference
Audio
Describes the My.Computer.Audio object.Play
Describes the Play method.PlaySystemSound
Describes the PlaySystemSound method.Stop
Describes the Stop method, which is used to stop a sound that is currently playing.