Checking the Status of Mute with Windows 7

ziggle

New Member
Joined
May 9, 2007
Messages
16
Hi folks,

I have an application where I need to send voice commands to an operator. As part of this effort, I need to check if the speaker is muted. I would also like to control the volume, for which I found a working routine on this message board. A quick Google search turned up some VB code in the Microsoft Knowledge Base that sounded it would check the status of mute. I then found a cleaner version at this location and I have been working with this code.

http://www.pcreview.co.uk/forums/api-commands-turn-volume-control-t1008148.html

I put it into Excel and it appeared to be working but not with the speaker.

When I display the audio mixer and run the code, I see 5 sliders: speaker, System Sounds, Firefox, iTunes, Excel. The code is moving the slider for Excel, but not the speakers. It also appears to be reading the mute for Excel.

Do any of you understand why the Mixer creates a slider for each process and what can I do to actually monitor mute and control the speakers not Excel.

Zig
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.

Forum statistics

Threads
1,215,430
Messages
6,124,846
Members
449,194
Latest member
HellScout

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top