Monday, November 1, 2010

Visual Basic Operating Environment Statement : Beep

Purpose : The Beep statement causes the computer's speaker to produce a short tone.

Syntax :
Beep

If ErrorNumber% > 0 Then Beep

The example beeps the speaker if the variable ErrorNumber is set. The Beep statement causes the computer to send a short tone to the speaker. you can control neither the tone not the duration; however, issuing several beep command consecutively can create the effect of a longer beep.

No comments:

Post a Comment