Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MsAgent Text-to-Speech?Who knows DLL fx and parameters n
Message
From
17/09/1999 02:57:53
 
 
To
17/09/1999 02:39:28
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00265763
Message ID:
00265764
Views:
28
Hi,
You may add MS Agent like the way you add OleControl or ActiveX control. Search MS Agent (Or similar caption) from the Add OleControl dialog box into you form. A icon like "Agent" or " Spice" should appear on you form. Your may call it like the following:

myagent = THISFORM.oleAgent
myagent.characters.LOAD("Genie","C:\WINDOWS\MSAGENT\CHARS\genie.acs")
myagent.characters("Genie").SHOW
myagent.characters("Genie").speak("hello")
myagent.characters.unload("Genie")

Try this out

Hope it helps
I am not the most powerful man in this world.
I am not the worst man in this world either.
I just as same as all of you.
I still need to learn from my mistakes...
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform