Page 1 of 1

ArgumentException was unhandled

PostPosted: Fri Jan 11, 2008 10:54 am
by Blackrabbit
Getting an exception error, not a very descriptive one, help would be appreciated. Code working with MS standard SAPI5 voices.

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

PostPosted: Mon Jun 21, 2010 9:52 am
by painter306
did either of you manage to find a solution? I"m having the same problem as the OP.