473,326 Members | 2,813 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Text-to-Speech Class ActiveX control crashes everytime

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
5 2815
"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
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
"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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
by: Henning Vestergaard Poulsen | last post by:
Hi, I have a problem that I hope someone can help me with. I'm building a web page with pictures I've taken with my digital camera. I have succeded making a javacript that, when clicking on a...
12
by: Randell D. | last post by:
Folks, I have a form called "ourTestForm". Its a test form - nothing special - it contains five input tags - they are named one, two, three, four and five. The input tags are of type...
3
by: mike | last post by:
I have a script that is not rendering the textwrap in svg properly. //does not work ..... var svgLand = svgObj.getElementById("NarrDisplay"); mytextwrap=...
8
by: Mikey | last post by:
I have an XML document as follows: <Menu> <Group> <Item Text="About Us" AccessRoles="All"> <Group> <Item Text="Option 1" AccessRoles="All" /> <Item Text="Option 2" AccessRoles="All" /> <Item...
2
by: MrNobody | last post by:
is there any way I can adjust the behavior of a Label when text overflows it's boundaries? I have a specific size Label which can show 2 lines of text, but on some occassions the text I insert...
1
by: ing42 | last post by:
I have a problem with inserting records into table when an indexed view is based on it. Table has text field (without it there is no problem, but I need it). Here is a sample code: USE test GO...
1
by: Alberto Sartori | last post by:
Hello, I have a html text with custom tags which looks like html comment, such: "text text text <p>text</ptext test test text text text <p>text</ptext test test <!-- @MyTag@ -->extract...
2
by: Mike | last post by:
If you have the following xhtml fragment <div> Some text </div> This will be an element with innerText of "Some text". But in the case of <div> Some text
4
by: laredotornado | last post by:
Hi, If I have a TD, whose id = "myTd," that only contains text within it,how do extract that text? Thanks, - Dave
3
by: Durand | last post by:
I'm wondering how I could render text with PIL in which different parts of the text are different characters. This is for a game stats script where names are written like: ^1Red ^2Green ^3Yellow,...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.