Controlling computer's sound volume using slider control in Delphi

Does anyone know how to write the source code to use a slider control in Delphi to adjust the computer's sound volume? And to use a progress bar control as an indicator of the sound volume.
cjong75Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
intheConnect With a Mentor Commented:
hi,
see thius project:
http://www.bhnet.com.br/~simonet/archive/mmvol.zip

Details:
How To Detect Multimedia Devices and Set their Volume
The purpose of the How-To Project is to teach Delphi developers how it is possible to detect the number and names of auxiliary multimedia devices and, optionally, set their volume using a track bar (or any other similar) component. Full source (and documented) code is included and is very easy to understand.  

Regards Barry
0
 
yingkitCommented:
Listening...
0
 
intheCommented:
hello ..did you try it ?
0
 
yingkitCommented:
Simonet's mmvol.zip seems to be unable to detect the volume for each device, it can only set the volume.
0
 
cjong75Author Commented:
Sorry for the late reply because very busy lately with my studies. Yes, the program works very well and thank you very much.

Regards,
Brandon
0
All Courses

From novice to tech pro — start learning today.