Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Play a WAV
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00710023
Message ID:
00710968
Vues:
16
Hmm. Thanks for the tip. I may try this.

Eventually, I found the issue on Symantec's web site message board. It turns out you can uninstall and reinstall the sound card driver and resolve it. NAV 2003 was actually killing the 'default beep' event in Windows.


>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
Jim Newsom
IT Director, ICG Inc.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform