Im using visual basic 6.0 and I can create an agent but I cant make it respond to voice recognition, hers' my code(simple program):

Dim Merlin
-----------------------
Sub form_Load()
Agent1.Characters.Load "Merlin", _
"C:\winnt\msagent\chars\merlin.acs"
Set Merlin = Agent1.Characters("Merlin")
Merlin.Show

Merlin.Commands.Add "Goodbye", "Goodbye", _
"...Goodbye...", True, True


End Sub
------------------------
Sub merlin_Command(ByVal UserInput)
MsgBox "hey!" '(or if statement)
End Sub

I also have all of the voice recognition files, all of the coor files, all of the agent files, all of the text to speach files, and there all the current version

the problem is a message box wont pop up if I select Goodbye or say it, can someone help?



[Edited by Mike202 on 12-17-2000 at 02:44 PM]