Beep

From Xojo Documentation

Method

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