Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Programmatically controlling system volume
Message
From
28/03/2000 01:28:05
 
 
To
28/03/2000 01:06:33
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00348853
Message ID:
00351269
Views:
33
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform