Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can i use the MS Agent control?
Message
 
À
16/08/2001 15:42:44
Information générale
Forum:
Visual Basic
Catégorie:
Contrôles ActiveX
Divers
Thread ID:
00544934
Message ID:
00545558
Vues:
7
>i tried to use it today, but i dont know how to call those lil animated characters to enhance my applications. can you guys tell me how?
>
>remember im just learning visual basic and visual foxpro, im not an expert!
>
>Gracias

You can find the full documentation here:

http://www.microsoft.com/msagent/documentation.htm

Basically, working with Agent is easy. For example, (This is VFP code and 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
Répondre
Fil
Voir

Click here to load this message in the networking platform