Wednesday, 7 August 2013

Text to Speech Convertor....

in this you can easily convert the text of the file and what you write in the text box into the speech.
open new window application.design the form like this

take 1 textbox, 5 buttons and 1 openfile dialog.
then open the Solution Explorer and right click on the Reference and select Add Reference


then u will get the window click on browse..

then go to the drive where you install the visual studio
C:>program files(x86) > Reference Assemblies >Microsoft >Framework > v3.0>select specch.dll
select this path and add the speech.dll file in the solution explorer.


click on OK.
then you will  find the speech.dll in the reference folder...

then add the namespaces..

and create the object the class


write the code in the buttons..
button1-browsefile-write this code....


by this you can open any text file..

button2-speak:-


button3 pause:-

button4 resume
button5 exit


run and enjoy the application......


No comments :

Post a Comment