![]() |
Application.Speech
Application.Speech
How does this work and what do I need to do my pc to get it working? I'm running XP with Office 2002. In the VBE I set a reference to the Speech Object library, and trien the example from the help file; Application.Speech.Speak "Hello" but I get a runtime error 1004. what does this mean line in the help screen mean; -This example assumes speech features have been installed on the hos system. - I checked my speech settings through the control panel and had th options there and the SAM voice. I assume I need some extra software on my PC? Thank for your hel -- Message posted from http://www.ExcelForum.com |
Application.Speech
Hi,
Not sure, but i think office 2002 may use v6 of ms speack engine, and win 2000 may come with v 5.1. It might be that app~.speach "hello" is olny an option for v6? you can download the latest engine from the ms site somewhere, but A lot of developers are sicking with 5.1 as it has more vocie and has wider support. Sorry not to be of more help Ross |
Application.Speech
MTBer, this was posted from keepitcool... it may help
Have you tried Microsoft Knowledge base? KB 277808 just a basic error trap... try it.. if you get an error report it.. Sub SayHello() On Error GoTo handler Application.Speech.Speak ("Hello") handler: If Err.Number = 1004 Then MsgBox "This macro requires Text to Speech to be installed." End If End Sub seeya ste |
All times are GMT +1. The time now is 10:31 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com