Microsoft SAPI in ASP

Snitz™ Forums 2000
https://forum.snitz.com/forumTopic/Posts/71395?pagenum=1
04 November 2025, 10:36

Topic


Carefree
Microsoft SAPI in ASP
07 December 2024, 12:47


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.

 

Replies ...


HuwR
11 December 2024, 07:55


This any help?
https://simon.rozman.si/computers/iis/sapi5-on-iis
Etymon
20 January 2025, 17:07


You guys are still kicking around? Howdy! tongue
HuwR
21 January 2025, 15:38


You guys are still kicking around? Howdy! tongueOriginally posted by Etymon
Yes, still kicking around bigsmile
Carefree
04 April 2025, 08:57


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.
Carefree
04 April 2025, 08:59


This any help?
https://simon.rozman.si/computers/iis/sapi5-on-iisOriginally posted by HuwR

Not sure yet, testing.
HuwR
08 April 2025, 10:38


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.
Carefree
26 April 2025, 12:03


They have delayed the carotid artery surgery because they need to operate on my heart first. Ahh, old age is a wonderful thing.
HuwR
01 May 2025, 06:14


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
Etymon
24 June 2025, 00:51


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
Carefree
01 July 2025, 12:29


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.
Etymon
01 July 2025, 21:55


sad
© 2000-2021 Snitz™ Communications