First add a DLL in this way
![](https://lh3.googleusercontent.com/blogger_img_proxy/AEn0k_ssa1_Quyzwj4O5ev0f1Iruyuq8BZm5jxl8dqUljszXKX9C7yJwaVJQk1kwITiEKhH8KxaJemDHdeEGy-_puuI6uRJdF3Y9xEkk1LmIIoaM5C4-GFTX99YHhO_m1Q=s0-d)
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);
}
}
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