Discussion:
"Getting Started" Project for Visual Studio?
(too old to reply)
Chris
2009-10-08 16:41:29 UTC
Permalink
Is there a "Getting Started" project for Visual Studio that I could
use to get off the ground (I'm not familiar with the world of .Net
development yet)

I just want to set up a simple project to add a custom training text,
besides the two default built-in texts. (unless this already exists
somewhere)
CyberMan_(MCDST)_nuub
2009-11-14 10:46:11 UTC
Permalink
--
If I can help, I will.
Do the same for a stranger today.
Post by Chris
Is there a "Getting Started" project for Visual Studio that I could
use to get off the ground (I'm not familiar with the world of .Net
development yet)
I just want to set up a simple project to add a custom training text,
besides the two default built-in texts. (unless this already exists
somewhere)
Hi, yes there is somewhere.

try this (can't actually recall which includes are needed)

using System;
//using System.Drawing;
//using System.Collections;
//using System.ComponentModel;
using System.Windows.Forms;
using System.Data;


//just setup a new win form
//and then call the below with some text from an event



private void Speak(string textToSpeak)
{

if (textToSpeak != String.Empty)
{
this.BeginInvoke(new MethodInvoker(delegate{

SpeechLib.SpVoice spkr = new SpeechLib.SpVoice();
spkr.Speak(textToSpeak,
SpeechLib.SpeechVoiceSpeakFlags.SVSFlagsAsync);
}));

}

}

Hope that helps

Loading...