I am trying to create a text to speech application using vb.net. My work is almost done. But need a few help. My coding is given bellow:
Dim SAPI Try SAPI = CreateObject("SAPI.spvoice") SAPI.Speak(TextBox1.Text) Catch exc As Exception MessageBox.Show("An error has occurred: " & exc.Message) End Try
This is my code. Respective seniors Please help me for some points:
1. I want to add stop button. When a user click on stop the reading will be stop. What will be the code.
2. By default it is spoken by a male. I want to put two speakers options. Male and Female. How can I get female voice.
3. I add a trackbar for volume option. But I can't understand what will be the code.
Please help me for these points. I will be greatful to you.