I'm trying to make a form in VB.Net that takes speech input (not text-to-speech) on my Windows XP Pro computer. I've tried to install Microsoft Speech SDK 5.1 according to http://support.microsoft.com/kb/306537. The problem is my Office 2007 does not have an Alternative User Input feature, as it says in the instuctions. So is there any way to get this on my computer? If not can you suggest any alternative other that buying a new computer for making my Visual Basic .Net form speech-enterable?

Hi,
I'm confused. The specs say quite clearly that Office 2007 isn't supported but is that a problem? You don't intend to use it with Office do you, only your own program? If that program doesn't incorporate with Office 2007 you don't have a problem.

The fact that Office 2007 isn't supported won't stop you installing it on your XP machine. It just means that, once installed, it won't work with Office but it will work with everything else that DOES support it.

I am trying to get speech recognition into a VB.Net form (not text-to-speech). I downloaded the first 4 and the sixth of the six downloads here http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=10121. I unzipped the ones that asked me to. That's all I did. According to this http://support.microsoft.com/kb/306537 you have to install it through Office. But there is no Alternative User Input on my Office.

This is the VB.Net code I'm trying to get to work (which could be wrong)

Public Class frmActivities
.
.
.
    Dim gram As New System.Speech.Recognition.DictationGrammar()
    Dim WithEvents recognizer As New Speech.Recognition.SpeechRecognitionEngine
.
.
.
    Private Sub frmActivities_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
 
        recognizer.LoadGrammar(gram)On recognizer.LoadGrammar(gram)

On

recognizer.LoadGrammar(gram)

I get a message which says "Speech recognition is not available on this system. SAPI and Speech Recognition engines cannot be found.". If I go into Control Panel / Speech there is one tab in the Speech properties, Text-to-Speech. My understanding is that there is supposed to be another tab if speech were installed properly. A shot of my speech properties is attached.

How can I get my program to work?

I think that the files that you unzipped are msm files (merge modules), they need to be added to your project so that when you install it they are added to the computer. You can do 2 things: * add the msm files to your project and install
* add them to an empty project and just install them to get them onto you computer.
Hope that this helps

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.