Friday, 6 July 2012

how to say of text in asp.net

First add a DLL in this way


Code:
 using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SpeechLib;

public partial class Default3 : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
      
    }
    protected void btn_Click(object sender, EventArgs e)
    {
        SpVoiceClass sp = new SpVoiceClass();
        sp.Speak("jay jagannath", SpeechVoiceSpeakFlags.SVSFDefault);
    }
}

No comments:

Post a Comment