Play a Sound


Snippet Details

Shortcut
sndPlay
Description
Plays a sound from a file.
Language
VB
Author
Microsoft Corporation
Upload on
25-10-2013 14:52:10
Downloads
2449

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