By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,758 Members | 1,250 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,758 IT Pros & Developers. It's quick & easy.

Text-to-Speech Class ActiveX control crashes everytime

P: n/a
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.
Dec 28 '07 #1
Share this Question
Share on Google+
5 Replies


P: n/a
"kimiraikkonen" <ki*************@gmail.comschrieb
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

Dec 28 '07 #2

P: n/a
On Dec 28, 3:05 pm, "Armin Zingler" <az.nos...@freenet.dewrote:
"kimiraikkonen" <kimiraikkone...@gmail.comschrieb
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
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.
Dec 28 '07 #3

P: n/a
"kimiraikkonen" <ki*************@gmail.comschrieb
>
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
Dec 28 '07 #4

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

"kimiraikkonen" wrote:
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.
Dec 29 '07 #5

P: n/a
On Dec 29, 5:52 am, Family Tree Mike
<FamilyTreeM...@discussions.microsoft.comwrote:
You might look athttp://msdn2.microsoft.com/en-us/library/ms997568.aspx.
It's a bit more recent, being from this millenium!

"kimiraikkonen" wrote:
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.
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/Upload...M/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.
Dec 29 '07 #6

This discussion thread is closed

Replies have been disabled for this discussion.