CODE:
- Code: Select all
SpeechLib.SpVoice voice = new SpeechLib.SpVoice();
voice.Speak("Test", SpeechLib.SpeechVoiceSpeakFlags.SVSFDefault);
ERROR:
System.ArgumentException was unhandled
Message="Value does not fall within the expected range."
Source="SpeechLib"
StackTrace:
at SpeechLib.SpVoiceClass.Speak(String Text, SpeechVoiceSpeakFlags Flags)
TIA