|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Control Mute or Audio Volumebut now client wants option to allow viewer to mute the audio on their system if desired. I'd like to get the current volume level, save it, set the level to zero, and then back to original level when program ends. or Get the audio mute status, mute the system, restore the original mute status when the program ends. I've seen some huge code samples developing whole mixers, etc., there must be an easier way like GetVolumeLevel, SetVolumeLevel. Thanks, Doug > I'd like to get the current volume level, save it, set the level to zero,
www.mentalis.org/vbexamples/vbexample.php?vbexample=VOLUME&category=SOURCE
> and then back to original level when program ends.or Get the audio > mute status, mute the system, restore the original mute status > when the program ends. Use the class module only. Juergen. Excellent response.
Got it working in about 45 minutes while watching hurricane newss. Thanks, Doug Show quoteHide quote "Juergen Thuemmler" <t***@removethisgmx.de> wrote in message news:u9vOMJNwFHA.2864@TK2MSFTNGP10.phx.gbl... > > I'd like to get the current volume level, save it, set the level to zero, > > and then back to original level when program ends.or Get the audio > > mute status, mute the system, restore the original mute status > > when the program ends. > > www.mentalis.org/vbexamples/vbexample.php?vbexample=VOLUME&category=SOURCE > Use the class module only. > > Juergen. > > |
|||||||||||||||||||||||