>Does anyone know how I can create instances of and control the MS agent with VFP 6
>
>thanks in advance
You can find a lot of info at
http://msdn.microsoft.com/msagentand the full documentation is here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msagent/guidlin_7cfi.aspWorking with Agent is easy. For example, (I suppose you have MS Agent installed on your PC and you have OleAgent1 control on your form):
thisform.oleAgent1.Characters.Load("MERLIN",
"c:\windows\msagent\chars\merlin.acs")
WITH thisform.oleAgent1.Characters("MERLIN")
.MoveTo(100,50)
.SHOW()
.Play("Greet")
.Speak("Hi! I am Merlin")
ENDWITH
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison