Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Programmatically controlling system volume
Message
De
28/03/2000 01:28:05
 
 
À
28/03/2000 01:06:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00348853
Message ID:
00351269
Vues:
34
>There is no native VFP function to do this, but it can be accomplished through a Windows API.
>

Better - give your users control by firing off the multimedia Control Panel applet:

RUN /N rundll32.exe shell32.dll,Control_RunDLL MMSYS.CPL,@0,0


>Dave
>
>>Is there a way to control the volume when playing a .wav file. I know to SET BELL TO abc.wav then ??chr(7) to play the sound, but is there a way to control the actual volume is is played at?
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform