Link to home
Start Free TrialLog in
Avatar of Knightlite_James
Knightlite_James

asked on

Text To Speech Problem With Vista 64 Bit

Hello,

I am trying to figure out a problem as to why I can not get a Sapi4 TTS engine to work correctly in Vista 64 using Visual Basic 2008.  When I run the code on Vista 32 the correct speech engine is selected by the operating system.  But when I run the same code in Vista 64, I get the default Anna Sapi5 voice, and the the software locks up.

In Vista 32, the correct speech engines are listed in the Registry under:

HKEY_LOCAL_MACHINE\SOFTWARE\Voice\TestToSpeech\Engine

In Vista 64, the correct speech engines are listed in the Registry under:

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Voice\TextToSpeech\Engine


I think this is the reason why it is not working correctly.  Can anyone tell me how this may be corrected, so the VB 2008 sees the correct speech engine?

Sincerely,

James
Avatar of Jeff Certain
Jeff Certain
Flag of United States of America image

I think the first problem is that you're using SAPI4... Vista natively uses SAPI 5.3.

There's a post on Geekpedia that suggests that the user may need to run as admin for TTS under Vista 64 -- no solution posted there.

Are you building as "any CPU" or 64-bit when deploying on Vista 64?
ASKER CERTIFIED SOLUTION
Avatar of Jeff Certain
Jeff Certain
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of gucci352010
gucci352010

I have the same problem. How can I solve this problem.. How can I add new voices on Windows Vista 64 bit ? I can see only Ana's voice.