|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now! |
|
#1
|
|||
|
|||
|
Well I know how to use this control for the most part, I only want to find out how do I change the gender of the speaker? and if I have to download the voices where do I get them?
|
|
#2
|
|||
|
|||
|
Well it looks like I'm the only one who uses this control.. that sux.
|
|
#3
|
||||
|
||||
|
Here is a code sample I found in the net for adding the voices to a combo box or list box.
Code:
Sub ListVoices(Lst As Object, Lips As Object)
engine = Lips.Find("Mfg=Microsoft;Gender=1")
Lips.Select engine
For i = 1 To Lips.CountEngines
ModeName = Lips.ModeName(i)
Lst.AddItem ModeName
Next i
Lst.ListIndex = Lips.CurrentMode - 1
End Sub
You can find more examples through google: http://www.google.com/search?hl=en&...G=Google+Search |
|
#4
|
|||
|
|||
|
Ok well.. that appears to be working.. it fills in the different voices into a list or combobox however, how do I make the OCX use those voices??... I tried
Lips.CurrentMode = Lst.ListIndex+1 but that either gives me errors or simply doesnt change the voice at all. In most cases it just doesnt change the voice. |
|
#5
|
||||
|
||||
|
1) What is the error that you are getting?
2) Is Lips the name of the TextToSpeech control? |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Visual Basic Programming > Microsoft Direct Text-to-Speech control. |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|