Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

"Getting Started" Project for Visual Studio?

5 views
Skip to first unread message

Chris

unread,
Oct 8, 2009, 12:41:29 PM10/8/09
to

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

unread,
Nov 14, 2009, 5:46:11 AM11/14/09
to

--
If I can help, I will.
Do the same for a stranger today.


"Chris" wrote:

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

0 new messages