Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MS Agent instantiation without adding ole control to for
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00395572
Message ID:
00395603
Vues:
10
Okee, I got so far. In the command window i was able to create the object and make him do stuff.

loDgs = createobject("Agent.Control.2")

loDgs.Connected = .T.

loDgs.Characters.Load("Merlin","c:\WINNT\MSAGENT\CHARS\MERLIN.ACS")

loGuy = loDgs.Characters("Merlin")

loGuy.Speak("This is a test")

This works, but when I put this code in a prg and try to run it, nothin happens.... WTH?

George
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform