Using Win32 functions in Visual FoxPro Image Gallery
Error Handling
..msdn
Beep
FatalAppExit
FlashWindow
FlashWindowEx
FormatMessage
GetErrorMode
GetLastError
MessageBeep
SetErrorMode
SetLastError
Code examples:
Controlling master audio volume by sending WM_APPCOMMAND messages
Using Beep and Sleep functions to make the old tin buzz sing (WinNT only?)
Beep
..msdn    Add comment     W32 Constants      Translate this page
Generates simple tones on the speaker. The function is synchronous; it does not return control to its caller until the sound finishes.
Code examples:
Controlling master audio volume by sending WM_APPCOMMAND messages
Using Beep and Sleep functions to make the old tin buzz sing (WinNT only?)
Declaration:
BOOL Beep(
  DWORD dwFreq,      // sound frequency
  DWORD dwDuration   // sound duration
);
FoxPro declaration:
DECLARE INTEGER Beep IN kernel32;
    INTEGER dwFreq,;
    INTEGER dwDuration

Parameters:
dwFreq
[in] Specifies the frequency, in hertz, of the sound.

dwDuration
[in] Specifies the duration, in milliseconds, of the sound.
Return value:
If the function succeeds, the return value is nonzero. If the function fails, the return value is zero.
My comment:
Windows 95/98/Me: On computers with a sound card, the function plays the default sound event. On computers without a sound card, the function plays the standard system beep. I"ve never seen such computer in years.
Word Index links for the Beep :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2001-12-20 18:09:43
Modified: 2001-12-20 18:12:19
Visited in last 7 days: 28
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.6.37), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.225.47.94)
2 sec.Function: 'GetRegionData'
3 sec.Function: 'mixerGetControlDetails'
5 sec.Function: 'ShellAbout'
7 sec.Function: 'GetUdpTable'
9 sec.Function: 'EnumClipboardFormats'
11 sec.Function: 'waveInReset'
14 sec.Function: 'SHRegOpenUSKey'
17 sec.Function: 'QueryDosDevice'
18 sec.Function: 'getnameinfo'
21 sec.Function: 'EnumDisplayDevices'
Google
Advertise here!