Text-to-Speech Class ActiveX control crashes everytime


K

kimiraikkonen

Hi all,
In Visual Basic 2005, i added "textToSpeech Class" from COM Components
and i dragged it onto my form as a ActiveX control with no problem.
The problem is that it doesn't do what it claims.

For example:
If you do a very simple code to speak something using:

AxTextToSpeech1.Speak("Hello World")


Then it crashes with like the following error:

Unexpected internal error has occured (Exception from HRESULT:
0x80040206)


This control remains from year 1999, it's very old.

Is it unsupported by VB.NET 2005?

If you test, you may experience the same error.

Regards.
 
Ad

Advertisements

A

Armin Zingler

kimiraikkonen said:
Hi all,
In Visual Basic 2005, i added "textToSpeech Class" from COM
Components and i dragged it onto my form as a ActiveX control with
no problem. The problem is that it doesn't do what it claims.

Can you tell us the name of the library (file name and library name)? I
don't find in the list of available COM components/controls.


Armin
 
K

kimiraikkonen

Can you tell us the name of the library (file name and library name)? I
don't find in the list of available COM components/controls.

Armin

Armin,

I added this control from toolbox->choose items -> COM components ->
TextToSpeech Class

Here is control's info:

Path: C:\Windows\speech\Vtext.dll
Library: Microsoft Voice Text
Last Modified: 12.01.1999

And whenever i try to speak a word it crashes as stated in my first
post.

Thanks.
 
A

Armin Zingler

kimiraikkonen said:
I added this control from toolbox->choose items -> COM components ->
TextToSpeech Class

Here is control's info:

Path: C:\Windows\speech\Vtext.dll
Library: Microsoft Voice Text
Last Modified: 12.01.1999

And whenever i try to speak a word it crashes as stated in my first
post.


I don't have this control, so, I'm afraid, I can't help.


Armin
 
Ad

Advertisements

K

kimiraikkonen

You might look athttp://msdn2.microsoft.com/en-us/library/ms997568.aspx.
It's a bit more recent, being from this millenium!

The speech control which is from millenium :) , seems not compatible
with VB.NET 2005, maybe with VB6 or other WinOS versions.

Also there's an alternative SpeecLib library which is explained here:

http://www.vbdotnetheaven.com/UploadFile/scottlysle/TTSinVB08282006014731AM/TTSinVB.aspx

and the TTS reader's code(but not perfect, has some bugs):

http://www.a1vbcode.com/app-3900.asp


But beyond those, "speech-to-text(reverse of text-to-speech)" like
comes with Office XP, that control would be perfect! If there's please
inform.

Thanks.
 
Ad

Advertisements


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top