Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to code in VFP a volume control
Message
 
To
11/07/2001 21:11:34
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00529528
Message ID:
00529742
Views:
8
>is there anyway to put into codes a volume control just like the windows volume control in which you can increase/decrease volumes...
>
>Thanx
Rommel,

MS KB Article Q178456 (SAMPLE: Volume.exe: Set Volume Control Levels Using Visual Basic) points to a download example in VB.

I believe the sample probably uses the waveOutSetVolume API call in MMSYSTEM. While I haven't tested it, from the samples I've seen this probably can be done from VFP, if the device supports it.
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform