Results 1 to 7 of 7

Thread: MsAgent

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Oct 2000
    Posts
    77

    Unhappy

    i using MSAgent Genie in my program i have text box and one commandbutton when user click on button Genie is speeking and button get Enabled=False but how would i figer out that when Genie stop speeking button get Enabled=True . is there any one can help me.

  2. #2
    Addicted Member
    Join Date
    Sep 2000
    Posts
    219
    Use the RequestComplete event.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Oct 2000
    Posts
    77
    what sould i write in RequestComplit event. if you know help me please.

  4. #4
    Addicted Member
    Join Date
    Sep 2000
    Posts
    219
    Code:
    Private Sub Agent1_RequestComplete(ByVal Request As Object)
          Command1.Enabled = True
    End Sub

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Oct 2000
    Posts
    77

    Unhappy one more question

    one more question do you know how would i use Genie Speed countol.

  6. #6
    Addicted Member
    Join Date
    Sep 2000
    Posts
    219
    There are tags you can use in the string expression passed to the Speak method which can control speed, pitch etc. I don't remember them at the moment.

  7. #7
    Addicted Member
    Join Date
    Sep 2000
    Posts
    219
    Use the following code.

    Code:
    MSAgent1.Speak "\Spd=300\Hello"
    The \Spd=number\ tag is used to control speed.

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