Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Playing a Loud Sound after the Process Completion
Message
De
05/01/2014 07:56:45
 
 
À
05/01/2014 02:07:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 8
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01591346
Message ID:
01591353
Vues:
76
>I am Processing some data which takes enough time. I need that after the process is completed a LOUD Sound is played at regular interval (as we see in washing Machines etc), and the sound should be played unless the Mouse Movement or some keyboard activity is performed.

Playing a sound is easy. Either use CHR(7) or the Windows API:

http://www.tomorrowssolutionsllc.com/Articles/Make%20Them%20Hear%20You!.PDF

However, controlling the volume is another story. A search for "windows api volume control" turns up a number of hits; I have no idea whether any of them actually let you change the volume.

Tamar
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform