VB6 has a Beep function. I am curious to know what exactly beeps when this function is called. Thanks.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
To be more accurate VB6 has a Beep subroutine, not a function.
This isn’t related to the Kernel32 Beep entrypoint at all, and works just as well in Vista as in Windows 7, XP, or Windows 95.
It plays the “Default Beep” sound from the user’s Windows sound scheme. If the system has no sound card it should beep via the motherboard speaker the same way this sound is played for anything else in Windows that invokes it.
It is just a generic audible alert. It probably was only included for use by old, old MS Basic programs being ported forward into VB.