Note This app will tell the current Time, requires .net 3.0
A Speaking APP in C# with .NET 3.0
/*
* Created by SharpDevelop.
* User: Development
* Date: 06-Jun-07
* Time: 4:40 PM
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
using System;
using System.Speech.Synthesis;
using System.Collections.Generic;
namespace SpeakingClock
{
class MainClass
{
public static void Main(string[] args)
{
System.Speech.Synthesis.SpeechSynthesizer Speak = new SpeechSynthesizer();
Speak.Rate = 3; /The Voice Speed
System.Console.WriteLine(DateTime.Now.ToString());
Speak.Speak(DateTime.Now.ToString());
}
}
}
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.