how do i change the sound volume in windows. do i need to use the windows api or is there any other way?
Printable View
how do i change the sound volume in windows. do i need to use the windows api or is there any other way?
:)
Hi Manavo,
I've tried your code, which looks absolutely perfect for what I'm after, and works fine on my laptop. However, on my development machine (which has an M-Audio soundcard) I get an error when I run it. This seems to be because the M-Audio is returning a volume of way above the 100 max you've get set in there.
I'm wondering - is there anyway I can detect the max volume of the soundcard and apply that to the volume slider in your form?
Cheers!