Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Community Forums
 Code Support: ASP (Non-Forum Related)
 Microsoft SAPI in ASP

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!
Before posting, make sure you have read this topic!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
Carefree Posted - 07 December 2024 : 12:47:34
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.
1   L A T E S T    R E P L I E S    (Newest First)
HuwR Posted - 11 December 2024 : 07:55:27
This any help?

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

Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.01 seconds. Powered By: Snitz Forums 2000 Version 3.4.07