Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MsAgent Text-to-Speech?Who knows DLL fx and parameters n
Message
 
To
17/09/1999 03:34:13
Amit Abhangrao
Charmi Software Exports
Mumbai, India
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00265763
Message ID:
00267987
Views:
20
>Hi Justok,
>
> It is really very good tool to include. You can also do it through CREATEOBJECT()
>
>Code is like
>************
>
> m_AgentShow = 1
> On Error myerror = 1
> m_AgentObject = createobject('Agent.Control.2')
> On Error && If not installed properly, error will come
> If Type('m_AgentObject') # 'O' Or MyError = 1
> m_AgentShow = 0
> Else
> m_AgentObject.connected = .t. && U need to connect if using as COM
> m_AgentObject.Characters.Load("MyAgent", "C:\Acs\merlin.acs")
> EndIf
> If m_AgentShow = 1
> m_AgentObject.Characters("MyAgent").Show
> m_AgentObject.characters("MyAgent").speak("Hi, How are you Justok?")
> m_AgentObject.characters.unload("MyAgent")
> EndIf
>
>*****
>
>Hope This help
>Regards
>Amit

I tested the agent out and seemed to work OK on my machine. Now my question is if I want to distribute this with my project when I build an EXE, how do I go about ensuring that the control is on everyones machine when they run my set up?
Bret Hobbs

"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform