General information
Category:
Coding, syntax & commands
Jim,
I agree closer with the response from Ramon Jaquez, but I have used a slightly simpler dll call...
declare integer sndPlaySound in WINMM.dll;
STRING lcWaveFile,;
INTEGER lnFlag
lcWaveFile = "c:\WinNT\Media\Chimes.wav" && or whatever..
=sndPlaySound( lcWaveFile, 17 )
The reason I avoided the SET BELL TO was for screen / printer impact...
??? sends char to printer... which may have issues with buffer / non-printable characters messing up next print job.
?? will print a blank char in the current form which can(will) overwrite a letter, textbox, or other control -- requiring repainting the form.
? is even worse than ?? as it forces a scroll-up as simulating a CR/LF on the form and would require a repaint yet again.
The API call has no scrolling and is quick and simple.
Don
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only