Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Code Support: ASP (Non-Forum Related)
 Microsoft SAPI in ASP
 New Topic  Reply to Topic
 Printer Friendly
Author  Topic Next Topic  

Carefree
Advanced Member

Philippines
4210 Posts

Posted - 07 December 2024 :  12:47:34  Show Profile  Reply with Quote
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:


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.

Edited by - Carefree on 07 December 2024 12:49:32

HuwR
Forum Admin

United Kingdom
20592 Posts

Posted - 11 December 2024 :  07:55:27  Show Profile  Visit HuwR's Homepage  Reply with Quote
This any help?

https://simon.rozman.si/computers/iis/sapi5-on-iis

MVC .net dev/test site | MVC .net running on Raspberry Pi
Go to Top of Page

Etymon
Advanced Member

United States
2391 Posts

Posted - 20 January 2025 :  17:07:01  Show Profile  Visit Etymon's Homepage  Reply with Quote
You guys are still kicking around? Howdy!
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20592 Posts

Posted - 21 January 2025 :  15:38:03  Show Profile  Visit HuwR's Homepage  Reply with Quote
[quote]You guys are still kicking around? Howdy! [/quote=Originally posted by Etymon]
Yes, still kicking around

MVC .net dev/test site | MVC .net running on Raspberry Pi
Go to Top of Page

Carefree
Advanced Member

Philippines
4210 Posts

Posted - 04 April 2025 :  08:57:36  Show Profile  Reply with Quote
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.
Go to Top of Page

Carefree
Advanced Member

Philippines
4210 Posts

Posted - 04 April 2025 :  08:59:05  Show Profile  Reply with Quote
[quote]This any help?

https://simon.rozman.si/computers/iis/sapi5-on-iis[/quote=Originally posted by HuwR]

Not sure yet, testing.
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20592 Posts

Posted - 08 April 2025 :  10:38:04  Show Profile  Visit HuwR's Homepage  Reply with Quote
[quote]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.[/quote=Originally posted by Carefree]

Good luck for the surgery, hope all goes well.

MVC .net dev/test site | MVC .net running on Raspberry Pi
Go to Top of Page
   Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.09 seconds. Powered By: Snitz Forums 2000 Version 3.4.07