hi guys ,
simple code to convert from text to speech .. it's supposed to work fine .
any way it generates a COM exception isn't handled .
thanx is advance .Code:using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using SpeechLib; namespace SimpTesTX { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { string s = "Hello World "; SpVoice sp = new SpVoice(); sp.Speak(s, SpeechVoiceSpeakFlags.SVSFDefault); } } }



LinkBack URL
About LinkBacks



CornedBee