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);
}
}
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