Click here to Skip to main content
15,884,892 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
how can text speech in word2007 and or all textbox focus


replace textbox1 in Under code

C#
textBox1.Text += "\r" + getKnownTextOrExecute(e.Result.Text);


please help...
Posted
Updated 23-Jun-12 19:16pm
v2
Comments
[no name] 22-Jun-12 17:50pm    
Help with what? "replace textbox1 in Under code" means what? "how can text speech in word2007 and or all textbox focus" is just gibberish? Please clarify what it is that you are trying to do.
Tim Corey 22-Jun-12 21:45pm    
I agree with Wes. This question is currently meaningless. Please clarify it right away.
Ganesan Senthilvel 24-Jun-12 1:17am    
Code format.

1 solution

Unfortunately, Text-to-Speech has been removed from Word 2007. Fortunately there is a rather easy way to implement it with a little bit of macro code. The below article describes how to add to Word two buttons using VBA macros, SpeakText and StopSpeaking. http://www.gmayor.com/word_text_to_speech.htm[^]
 
Share this answer
 
v2

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