Method

Beep


Warning

This item was deprecated in version 2019r2. Please use System.Beep as a replacement.

Description

Plays the default system alert sound.

Usage

Beep

Notes

The Beep method plays the default Beep sound selected on your computer.

Sample code

This code beeps if an error occurs:

Dim isError As Boolean = True
If isError Then
  Beep
End If

Compatibility

All project types on all supported operating systems.