Question How to make it speak?

raysefo

Well-known member
Joined
Jul 21, 2010
Messages
207
Programming Experience
Beginner
Hi,

I wonder if there is a way to make windows forms to speak a very simple sentence like "5 records found" etc.

Best Regards

Thanks in advance.
 
But if you want something really simple then you may want to use SAPI or Speech (System.Speech) e.g.
VB.NET:
Imports System.Speech
Imports System.Speech.Synthesis
' ...........................................................
Dim TheSpeaker As New SpeechSynthesizer()
TheSpeaker.SelectVoiceByHints(VoiceGender.Female, VoiceAge.Adult)
TheSpeaker.Speak("Hello i am the voice of your Computer")
 
Back
Top