ArgumentException was unhandled
Posted: Fri Jan 11, 2008 10:54 am
Getting an exception error, not a very descriptive one, help would be appreciated. Code working with MS standard SAPI5 voices.
CODE:
ERROR:
TIA
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