>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