Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can i use the MS Agent control?
Message
 
To
16/08/2001 15:42:44
General information
Forum:
Visual Basic
Category:
ActiveX controls
Miscellaneous
Thread ID:
00544934
Message ID:
00545558
Views:
8
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform