Hi
I am trying to use the TextToSpeech ActiveX Contol (in Vtext.dll) in VBA in
a Word 2000 application running under Win2K.
I have inserted the ActiveX control into a UserForm.
I can get the ActiveX Control to speak text no problem, however I have to
use polling rather than event driven. I would of course prefer to use event
driven.
In the VBE I see 11 different events available, but the only two that seem
to occur are the "_Enter" and "_Exit" events.
If test the ActiveX control in the "ActiveX Control Test Container" supplied
with Visual C++, I do see some of the other events occuring eg "_Visual",
"_SpeakingStarted" and "_SpeakingDone" events.
Has anybody any ideas on what I'm doing wrong in VBA?
Many Thanks in Advance
Word Heretic - 11 Oct 2005 01:58 GMT
G'day "John Sherry" <JohnSherry@discussions.microsoft.com>,
There are 2 ways to invoke TTS: asynch or synch. This drastically
changes the required 'event model'.
Steve Hudson - Word Heretic
steve from wordheretic.com (Email replies require payment)
Without prejudice
John Sherry reckoned:
>Hi
>I am trying to use the TextToSpeech ActiveX Contol (in Vtext.dll) in VBA in
[quoted text clipped - 15 lines]
>
>Many Thanks in Advance
Brandon Jones - 11 Oct 2005 04:50 GMT
You might want to consider downloading Speech 6 (SAPI6) from Microsoft.com.
It includes an impressive and greatly simplified TTS and Speech core. The
SDK has extensive VB examples too.
> Hi
> I am trying to use the TextToSpeech ActiveX Contol (in Vtext.dll) in VBA in
[quoted text clipped - 15 lines]
>
> Many Thanks in Advance