Linking to Control Panel Options and Turning Speech On and Off
How can I make a button that links to the Speech Control Panel? I also need to know how to create a checkbox that can turn speech on and off in my program.
Thanks
How can I make a button that links to the Speech Control Panel? I also need to know how to create a checkbox that can turn speech on and off in my program.
Thanks
Process.Start("C:\Program Files\Common Files\Microsoft Shared\Speech\sapi.cpl")
Hi,
Based on your post, you can use Sound class to control sound volume. Basically, Sound class can mute and/or set the Master Volume of the computer using the 'mixerSetControlDetails' API and its various cousins.You can find Sound class from the following website:
http://blogs.vbcity.com/drydo/archive/2005/06/07/2038.aspx
The only two methods you'll be interested in are the 'SetSound' and 'SetVolume' method, the former takes a boolean parameter to mute the sound - the latter an integer to represent the volume level as a percentage.Hope this can help you.
Thanks for your question
This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.
Thats not what I was going for, because when the user clicks the button that makes the speech comes up, the program locks up until the speech has been read. I want this to be eliminated so when they turn the speech feature off, it doesn't lock up like this.
Thanks