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

Convert XElement to DataTable

Enable mouse scroll-wheel in VB6

C# code to Check IE Proxy Settings