Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Want to make a sound with FPW 2.6

Status
Not open for further replies.

superteru

Programmer
Jun 4, 2001
5
UY
Is there any command or function like beep() or sound() in FPW 2.6 ?
If anyone knows... Thanks in advance. Guillermo
 
You can play a .WAV file by using the following statements for example:

SET BELL TO "C:\WINNT\MEDIA\DING.WAV", 1
?CHR(7)

Using SET BELL TO must have the name of some .WAV file as the first parameter, and some number as the duration for the second parameter. The second parameter is ignored but meust be there to avoid a syntax error. ?CHR(7) says print the 'BELL' character.

Dave S.
 
I tried those two commands for FPW and they do work well.
Thanks alot Dave S. Guillermo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top