Play a Sound


Snippet Details

Shortcut
sndPlay
Description
Plays a sound from a file.
Language
VB
Author
Microsoft Corporation
Upload on
10/25/2013 2:52:10 PM
Downloads
749

Declarations

ID ToolTip Default
filename Replace with the name of the sound file. "ringout.wav"

Code Output

        My.Computer.Audio.Play($filename$,  AudioPlayMode.WaitToComplete)
    

Download Add to .VSIX Package


comments powered by Disqus

Extension Package

No snippets are added


Languages