could someone with Vista test this - i want to know if it beeps
please check your volume/mute first :bg
as i understand it, Beep does not work under vista
so, i want to test this method
Tried it on a Vista64 and Vista32 virtual box and it didn't beep.
thanks Edgar
i guess you have to go with PlaySound or better :P
Dave,
Just tested: both conout 7 and Beep freq, duration work under Win7.
Jochen
Beep(freq,duration) works on all versions XP+ as far as I know, you'll just have to guess appropriate values if you want to simulate the 'bell' character.
Quote from: Tedd on March 05, 2012, 12:53:08 PM
Beep(freq,duration) works on all versions XP+ as far as I know, you'll just have to guess appropriate values if you want to simulate the 'bell' character.
I haven't tried it under Vista but Microsoft says it was dropped:
Quote from: MSDN - Beep function Eventually because of the lack of hardware to communicate with, support for Beep was dropped in Windows Vista and Windows XP 64-Bit Edition.
In Windows 7, Beep was rewritten to pass the beep to the default sound device for the session. This is normally the sound card, except when run under Terminal Services, in which case the beep is rendered on the client.
Ofcourse the function may have been made available through a service pack or patch.
Tested this example under Xp 64 and doesn't beep.
thanks guys :U
It beeps on windows 7 x64
thanks, merlin
welcome to the forum :U