Hi list!
Someone know how to use the Office Assistant with VB5 or VB6?
Thanks in advance
[email protected]
Printable View
Hi list!
Someone know how to use the Office Assistant with VB5 or VB6?
Thanks in advance
[email protected]
hi, and welcome to VBWORLD
to accomplish what you need, you will have to add a MS Agent Control to your program.
then put this code in the declerations:
and this on the form load event:Code:Dim al As IAgentCtlCharacterEx
Const DATAPATH = "clippit.acs"
Code:Agent1.Characters.Load "clippit", DATAPATH
Set al = Agent1.Characters("clippit")
al.LanguageID = &H409
now add 1 text box and a button to the form
code for button:
Code:clippit.Show
clippit.Speak Text1.Text
now run your program, and if you have ms office installed the clip will appear and say what's in the text box when you click the button
Amazing man!
Do you know what kind of license I need to redistribute this agent with my apps?
All the lucky!
goto microsoft's MS agent webpage:
http://msdn.microsoft.com/workshop/i.../licensing.asp
you can also get some better agents at microsoft