1 Replies - 821 Views - Last Post: 14 October 2012 - 08:07 AM Rate Topic: -----

#1 blue jhon  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 4
  • Joined: 21-July 12

Help to Create Text to Speech. Almost Done. Need a Little Help

Posted 14 October 2012 - 07:03 AM

Hello senior vb.net programmers. With respect to you I want a help.

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.

Is This A Good Question/Topic? 0
  • +

Replies To: Help to Create Text to Speech. Almost Done. Need a Little Help

#2 zeeshanef  Icon User is offline

  • D.I.C Head

Reputation: 17
  • View blog
  • Posts: 71
  • Joined: 14-April 12

Re: Help to Create Text to Speech. Almost Done. Need a Little Help

Posted 14 October 2012 - 08:07 AM

http://msdn.microsof...2(v=vs.85).aspx
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1