Code to set volume

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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.
 
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
 
Back
Top