Click here to Skip to main content
16,023,224 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Dear all

i have a problem that i am trying to solve from few days but I cant find any solution

I am developing a windows application using VB.NET 2008, which is intended to be used by blind people , so user can use his voice as a Command

i need to disable speech dictation from windows vista in some control and enable it in others , or even make this option to the user ,

i search a lot to find a way to disable dictation (speech to text) but i cant found any solution

i will be very thankful if anyone can help me

thanks

Abeer
Posted

Disable dictation with the Vocola command, "Text Off":

Disable()
Namespaces ► Library ► Dictation ► Disable
Disables Vocola dictation.
Syntax
Disable()
Examples
Disable Vocola dictation.

Text Off = Dictation.Disable();

Saying "Text Off" disables Vocola dictation.

This is one of Vocola's built-in commands.

http://vocola.net/v3/FunctionLibrary/[^]
 
Share this answer
 
Thanks God :)

finally , i found a solution , may be someone will need it one day :)
speech recognition can work in two modes , either command-and-control or dictation mode , both can be disabled in any application through registry editor ,

to disable dictation for some application from regedit:
insert string value in (HKEY_CURRENT_USER\Software\Microsoft\Speech\Preferences\AppCompatDisableDictation)
set it's name to the application.exe file , i.e to disable dictation for microsoft word , add new string with name word.exe

while to disable command :

use this key, to add the executable application you wish to disable speech command within it(HKEY_CURRENT_USER\Software\Microsoft\Speech\Preferences\AppCompatDisableMSAA)

hope this may be useful to some one :)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900