Results 1 to 2 of 2

Thread: Office Assistant

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2000
    Location
    Bellevue, WA, USA
    Posts
    1,357

    Post

    How can I incorporate the office assitant into VB program? Is there any way? And don't you all agree that all programs should have a cute little paperclip dancing around and watching you? I don't know why Microsoft didn't create an OS assistant for Win2000!

    Thanks

    ~seaweed

  2. #2
    Frenzied Member
    Join Date
    Jul 1999
    Posts
    1,800

    Post

    Sure!
    Go here to download the needed programs...http://msdn.microsoft.com/workshop/c-frame.htm?929066716826#/workshop/imedia/agent/default.asp&RLD=79 I think you need the character, Speach control panel, and text to speach engine. (In my code I used the genie, it is the quickest download. If you get any other one, put their name wherever I put Genie.)
    Unfortunatley you can't get the paperclip, there is a robot, a wizard, a genie, and a parrot I think.

    To use it, in the declarations put:
    Dim Genie As IAgentCtlCharacterEx
    Const DATAPATH = "genie.acs"

    And In THe Load Section of your form put:
    Agent1.Characters.Load "Genie", DATAPATH
    Set Genie = Agent1.Characters("Genie")
    Genie.LanguageID = &H409

    And anywhere you want (A button, the load section, or whatever else) put:
    Genie.Show
    Genie.Speak "Hello World!"
    Genie.Hide

    AND HE SPEAKS!!!!!!!!


    P.S. Just remember to put the control on the form, That gave me a lot of troubles!

    Edited by SteveCRM on 02-24-2000 at 08:49 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width