
ActiveX Document...TTS Reference Based vs Object Based
I am developing activex documents with Text to Speech.
As it stands now, I can make an activex doc with the "TextToSpeech" object.
The problem is that when I want to destribute my form, the Package and
Deployment Wizard in VB 6 wants to include Vtext.dll - someone with sapi
will already have this dll. I dont want to force a dll they alreadly have.
So I tried the CreateObject Method:
Dim msVoice
Set msVoice = CreateObject("TextToSpeech,TextToSpeech.1")
I am setting this on the UserDocument()Initialize event.
The CreateObject works, but I cant call its methods at the field level in
the activex document.
What am I doing wrong????? Additionally, should I even try this way? Maybe I
should use the component (Vtext.dll), so what if the user get the dll again.
Thank you.
Kevin Featheringill