I am new in Microsoft .Net Technologies, I am working on a project which converts text to speech and text to audio.
Dim SAPI = CreateObject("SAPI.spvoice")
Private Sub Speak_Click(sender As Object, e As EventArgs) Handles Speak.Click
SAPI.Speak(TextBox1.Text)
End Sub
Above is my code, please guide me to how to save that text into an audio file. I am using latest 2k17 .net technologies. Thanks