Microsoft SAPI in ASP - Posted (2047 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
Forum Admin
HuwR
Posts: 20611
20611
This any help?
https://simon.rozman.si/computers/iis/sapi5-on-iis
Posted
Advanced Member
Etymon
Posts: 2396
2396
You guys are still kicking around? Howdy! tongue
Posted
Forum Admin
HuwR
Posts: 20611
20611
You guys are still kicking around? Howdy! tongueOriginally posted by Etymon
Yes, still kicking around bigsmile
Posted
Advanced Member
Carefree
Posts: 4224
4224
Still alive, but too blasted old to do any kicking. Had a massive heart attack, followed by heart surgery last year. Now they need to reopen me and replace a heart valve, then they're going to cut open both carotid arteries and put tubes up into my brain. Doesn't that sound like fun? Because of the temporary strokes and seizures that persist in bothering me, the odds of a successful surgery are 11%. But the odds of continuing to survive without it are less.
Posted
Advanced Member
Carefree
Posts: 4224
4224
This any help?
https://simon.rozman.si/computers/iis/sapi5-on-iisOriginally posted by HuwR

Not sure yet, testing.
Posted
Forum Admin
HuwR
Posts: 20611
20611
Still alive, but too blasted old to do any kicking. Had a massive heart attack, followed by heart surgery last year. Now they need to reopen me and replace a heart valve, then they're going to cut open both carotid arteries and put tubes up into my brain. Doesn't that sound like fun? Because of the temporary strokes and seizures that persist in bothering me, the odds of a successful surgery are 11%. But the odds of continuing to survive without it are less.Originally posted by Carefree

Good luck for the surgery, hope all goes well.
Posted
Advanced Member
Carefree
Posts: 4224
4224
They have delayed the carotid artery surgery because they need to operate on my heart first. Ahh, old age is a wonderful thing.
Posted
Forum Admin
HuwR
Posts: 20611
20611
They have delayed the carotid artery surgery because they need to operate on my heart first. Ahh, old age is a wonderful thing.Originally posted by Carefree
It certainly is smile
Posted
Advanced Member
Etymon
Posts: 2396
2396
Originally posted by Carefree
They have delayed the carotid artery surgery because they need to operate on my heart first. Ahh, old age is a wonderful thing.

Keep us up to date on your progress. I hope you fair excellent through it all!
Also, you mentioned some time ago that you had a modded forum. I'm still interested in it if you still have it available. Thanks either way. You contributed a lot to the community already through the years. smile
Posted
Advanced Member
Carefree
Posts: 4224
4224
Vascular and neurological surgeons vetoed the carotid surgery, risk factors outweighed benefit in their opinion. Now back in the Philippines. The VA did another review of my various conditions (including complex apnea) and decided (what a surprise) that nothing in the 1780 pages of medical records during my military career had anything to do with any ailments I now experience. Complex apnea is another thriller, because now my brain no longer tells my lungs to breathe. My cardio surgeon is recommending a pace maker because when my brain next decides to no longer talk to my heart, it will be too late for surgery.
You Must enter a message