Give voice to your computer
Add a reference to the SAPI from COM tab, and select "Microsoft Speech Object Library"
using SpeechLib;
...
SpVoice voice = new SpVoice();
voice.Speak(rtbSpeachText.Text, SpeechVoiceSpeakFlags.SVSFDefault);
Comments
Post a Comment