Click here to Skip to main content
14,639,997 members
Home » Discussions » C#
   

C#

 
GeneralRe: C# Images on Forms Pin
Henry Minute8-Jun-09 12:43
MemberHenry Minute8-Jun-09 12:43 
QuestionDeploying Visual c# application on Lan Pin
Akshaylamba8-Jun-09 8:46
MemberAkshaylamba8-Jun-09 8:46 
AnswerRe: Deploying Visual c# application on Lan Pin
Pete O'Hanlon8-Jun-09 9:36
subeditorPete O'Hanlon8-Jun-09 9:36 
AnswerRe: Deploying Visual c# application on Lan Pin
Mycroft Holmes8-Jun-09 14:24
professionalMycroft Holmes8-Jun-09 14:24 
QuestionProblem with XML Schema [modified] Pin
paradisonoir8-Jun-09 8:20
Memberparadisonoir8-Jun-09 8:20 
GeneralRe: Problem with XML Schema Pin
harold aptroot8-Jun-09 8:31
Memberharold aptroot8-Jun-09 8:31 
GeneralRe: Problem with XML Schema Pin
paradisonoir8-Jun-09 8:53
Memberparadisonoir8-Jun-09 8:53 
QuestionTCP Client/Server and Speech Recognition Pin
soflp-pt8-Jun-09 7:53
Membersoflp-pt8-Jun-09 7:53 
Hi,
I'm doing a small program to work with SAPI (Speech Recognition).
The main goal of the program is a client send a WAV file from a TCP client, and a server receive it and store it in hard disk. Then before closing the TCP connection, I want to "recognize" the file saved.

The problem I'm getting is, after the file is saved, I go to the function that does the speech recognition. When I go on debug, the events of speech recognition doesn't fire up. I've tried and in a stand-alone version (i only input a WAV and then do the voice recognition part) and it works.

Maybe some code to help:
After TCPListner and TCPClient
.....

FileStream fs = new FileStream(@"C:\\" + filenameOnly, FileMode.Create);
...        and then I write a buffer[] (from a StreamReader) to a file.
fs.Flush();
fs.Close();
..... Then I call the SR functions and declare the events.

//wave file created before....yes, i can open when we enter this code.
sr.SetInputToWaveFile(ficheiro);

//these event aren't raised.
sr.SpeechRecognized += new EventHandler<SpeechRecognizedEventArgs>(sr_SpeechRecognized);
//
sr.SpeechHypothesized += new EventHandler<SpeechHypothesizedEventArgs>(sr_SpeechHypothesized);
//
sr.SpeechRecognitionRejected += new EventHandler<SpeechRecognitionRejectedEventArgs>(sr_SpeechRecognitionRejected);
//
sr.RecognizeAsync(RecognizeMode.Multiple);

Any suggestion?

Thanks in forward.
QuestionI am getting some unhandled exception after installing when i include crystal reports in the project with reports its working. Pin
praveenkumar_vittaboina8-Jun-09 7:18
Memberpraveenkumar_vittaboina8-Jun-09 7:18 
Questionthreading and timercallback Pin
Saamir8-Jun-09 7:02
MemberSaamir8-Jun-09 7:02 
AnswerRe: threading and timercallback Pin
Luc Pattyn8-Jun-09 7:23
sitebuilderLuc Pattyn8-Jun-09 7:23 
GeneralRe: threading and timercallback Pin
Saamir8-Jun-09 7:29
MemberSaamir8-Jun-09 7:29 
GeneralRe: threading and timercallback Pin
Luc Pattyn8-Jun-09 7:53
sitebuilderLuc Pattyn8-Jun-09 7:53 
GeneralRe: threading and timercallback Pin
Saamir9-Jun-09 6:00
MemberSaamir9-Jun-09 6:00 
GeneralRe: threading and timercallback Pin
Luc Pattyn9-Jun-09 6:33
sitebuilderLuc Pattyn9-Jun-09 6:33 
AnswerRe: threading and timercallback Pin
yunusdemiray8-Jun-09 20:20
Memberyunusdemiray8-Jun-09 20:20 
GeneralRe: threading and timercallback Pin
Saamir9-Jun-09 6:01
MemberSaamir9-Jun-09 6:01 
GeneralRe: threading and timercallback Pin
Luc Pattyn9-Jun-09 6:32
sitebuilderLuc Pattyn9-Jun-09 6:32 
Questionis dataset performs well over Lists when navigating data in the memory Pin
prasadbuddhika8-Jun-09 5:30
Memberprasadbuddhika8-Jun-09 5:30 
AnswerRe: is dataset performs well over Lists when navigating data in the memory Pin
Henry Minute8-Jun-09 9:56
MemberHenry Minute8-Jun-09 9:56 
QuestionWeb Cam Problem Pin
S K Y8-Jun-09 5:23
MemberS K Y8-Jun-09 5:23 
AnswerRe: Web Cam Problem Pin
DaveyM698-Jun-09 5:31
professionalDaveyM698-Jun-09 5:31 
AnswerRe: Web Cam Problem Pin
Simon P Stevens8-Jun-09 5:38
MemberSimon P Stevens8-Jun-09 5:38 
QuestionHow to embed a internet explorer in a webbrowser control using c# Pin
Yukivi8-Jun-09 5:08
MemberYukivi8-Jun-09 5:08 
QuestionCast where XML file defines what integer and floating point values should be cast to. Pin
Dennis Lerche8-Jun-09 4:10
MemberDennis Lerche8-Jun-09 4:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.