When I tried Console.Beep() on Win Vista (64bit), it just does not work. The speaker itself is OK, when the PC starts, it beeps.
Any advice? Thanks!
When I tried Console.Beep() on Win Vista (64bit), it just does not work. The
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.
Is it 64 bit Vista?
Console.Beep calls the API function Beep which isn’t supported on 64bit Vista.
Quote: Windows Vista x64 and Windows XP 64-Bit Edition: This function is not supported.
You might be able to use MessageBeep instead if it’s ok with the beep coming through the speakers instead of straight from the motherboard. See here for how to call this from C#.