Microsoft SAPI in ASP - Posted (2045 Views)
Advanced Member
Carefree
Posts: 4224
4224
I'm trying to use a MS voice from a vbscript ASP file, run on a local host application. Here's the affected section of code:

Code:

Dim speaks, speech
speaks = rsD("Bee")
Set Girl = CreateObject("SAPI.spVoice")
Set Girl.Voice = Girl.GetVoices.Item(0)
Girl.Rate = 3
Girl.Speak "<pitch absmiddle = '8'/>" & speaks
If Err.Description > "" Then Response.Write Err.Description

I'm getting a "Class Not Registered" result. but if I use the code in a stand-alone .vbs file (with the value of 'speaks' specified), it works fine. My best guess is that it's related to permissions, but I haven't been able to set any that work.
 Sort direction, for dates DESC means newest first  
 Page size 
Posted
Advanced Member
Etymon
Posts: 2396
2396
sad
You Must enter a message