Code to set volume

W

Wes

Is there code taht can set volume on a person's machine. I am trying to develop an infomation database built by forms and I want it at a volume so if people have their sound off i can set it at a certain level.
 
D

Dev Ashish

Is there code taht can set volume on a person's machine. I am trying
to develop an infomation database built by forms and I want it at a
volume so if people have their sound off i can set it at a certain
level.

It won't really be good design to do this automatically. A better way would
be to simulate volume control on the form and then call WaveOutSetVolume
api (check Google) for that setting. You can call waveOutGetVolume api to
detect currect setting.

-- Dev
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top