Introduction
This tutorial will show you how to create a program that can understand what
you say and reply to what you say! You will need to download the speech recognition
control from http://activex.microsoft.com/activex/controls/agent2/actcnc.exe
if you have not already downloaded it.
Firstly add a new Standard EXE project. Then change the projects name to VoiceRecognition.
Change the forms name to frmVoice. Add the Direct Speech Recognition and
the Direct Text-To-Speech control to the form by right clicking on the toolbox
and then selecting components. Click on the Microsoft Direct Speech Recognition
and Microsoft Direct Text-To-Speech item and then click OK.
Draw the Speech Recognition and Text-To-Speech control on
the form and set the Speech Recognition controls name property to vcrVoice,
the Text-To-Speech controls name property to spkSpeak and both
their visible properties to false.