Use Speech Reference in Visual C#.NET

Develop an application in Visual C#.NET called "Understand and Read It!".

Understand and Read It! – Visual C# API

Hi Everybody,

Here, we will develop an application in Visual C# called "Understand and Read It!". Mohammad Elsheimy's blog is the source of this article. Why? Because, Mohammad Elsheimy has already written it. It is in here (Building Applications that Can Talk). So special thanks to Mohammed Elsheimy.

What is this about?

The Speech API library that we are going to use today is represented by the file sapi.dll which is located in %windir%\System32\Speech\Common. This library is not part of the .NET BCL and it’s not even a .NET library, so we’ll use interoperability to communicate with it (don't worry, when using Visual Studio, it is just a matter of adding a reference to the application)

Here We Go!

Now, in this step, we add a reference of the Speech Library to the project and design our Windows form. Look at the following figure 1:

Figure 1

After this process comes step 2. Design our form as in figure 2:

Figure 2

As shown in the form, I have got one Label, two Buttons and one TextBox. Now, we go to the third and final step!

Write Code For Yourself!

This is the final step. Write code for ourselves as shown in figure 3:

Oh man, I said it's working, the only minor issue is the Speak Text button was disabled after the speech progress. For next words I need to close & open the application(Because the button Speak Text was disabled & I can't click that). That's it.

I think, you must check your References so you must be sure added Speech Reference. Actually, this project is working without problem but i'll again debugging it than upload.Also i'm waiting your vote thanks a lot.

I'm sorry man, again I need to give another minor suggestion. Actually I have only VS 2008 so I can't open your project but found application exe file in Debug folder. It worked fine but after the Speech progress the Speak Text was disabled so I can't check random words continuously with out closing the application. So enable the button again after the speech progress(so I can check other words with out closing the application). Also optimize the Add reference image & replace with current one(because the size is 276 KB). Will vote you after the update.

Couple of suggestions
#Replace the Write Code For Yourself image with code because some lazy developers also here like me.
#Broken/No link for Mohammad Elsheimy's article, please include that.
I'll vote you soon. Cheers.