Hi Tariq,
Sample of MS Agent is given in VFP7 Solution.app.
You can download MS agent from Microsfot site and can find samples there too.
The coding goes something like this. In this case MS Agent class is taken from VFP foundation classes.
If Thisform._agent.Load("Merlin","merlin.acs")
Thisform._agent.setActiveAgent("Merlin")
Thisform._agent.Show(Rand() * 400, Rand() * 400)
Thisform._agent.play("Greet")
Thisform._agent.speak("Welcome")
endif
>Dear Experts
>
>I want to use Microsoft Agent activex control 2.0.
>
>If somebody is using this please help me how to use it.
>
>Thanks in advance