How to open the microphone properties window

How to open the microphone properties window when I press the button?

+3
source share
2 answers

Nothing is built into WPF to open the microphone properties window. This is a .NET feature. Do you use C #?

If you want to open the volume control in Windows, you can simply run the executable file sndvol32.exe:

string lWinDir = Environment.GetEnvironmentVariable("windir");
string lSndVolPath = lWinDir + @"\system32\sndvol32.exe";
Process lVolumeControl = Process.Start(lSndVolPath);

See. Also How to configure the microphone gain in C # (you must work with XP and W7) ... .

+4
source

Windows XP sndvol32.exe . "-R" , "", .

sndvol32.exe -R

, Windows 7. Win 7 sndvol.exe, . , , - Sound "", :

control mmsys.cpl,,1
+4

Source: https://habr.com/ru/post/1777666/


All Articles