Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MS Agent in VFP
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Divers
Thread ID:
00515468
Message ID:
00515575
Vues:
21
This message has been marked as the solution to the initial question of the thread.
>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/msagent

and the full documentation is here:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msagent/guidlin_7cfi.asp

Working 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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform