voice.Voice = voice.GetVoices().Item(ddlVoices.SelectedIndex); voice.Volume = trackBarVolume.Value; voice.Rate = trackBarSpeed.Value; speakingText = txtUserInput.Text; voice.Speak(speakingText, SpeechLib.SpeechVoiceSpeakFlags.SVSFlagsAsync);
voice.Pause();
voice.Speak("", SpeechLib.SpeechVoiceSpeakFlags.SVSFPurgeBeforeSpeak);
Exception from HRESULT: 0x80045006
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)