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

Popular posts from this blog

C# code to Check IE Proxy Settings

Convert XElement to DataTable