Export (0) Print
Expand All

Playing Sounds (Visual Basic)

The My.Computer.Audio object provides methods for playing sounds.

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.

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.

Community Additions

ADD
Show:
© 2014 Microsoft