JavaScript Editor JavaScript Editor     JavaScript Debugger

Previous Section Next Section

Main Page


Here's another one that, as with SendKeys (see the previous topic), doesn't really fit into a specific chapter, but is handy to know—the Beep function. You can use this function to make the computer emit a beep, as in this case when the user clicks a picture box control:

Private Sub PictureBox1_Click(ByVal sender As System.Object, _
    ByVal e As System.EventArgs) Handles PictureBox1.Click
End Sub

Beep comes in handy as an ultra-quick debugging aid to see if code is being run—for example, if you embed a Beep call in the code and you get a beep when you run it, the code is indeed being called and run.

Previous Section Next Section

JavaScript Editor Free JavaScript Editor     JavaScript Editor