Click here to Skip to main content
15,907,905 members
Home / Discussions / C#
   

C#

 
QuestionGetting rid of extra click... Pin
Danish Samil18-Feb-14 0:08
Danish Samil18-Feb-14 0:08 
AnswerRe: Getting rid of extra click... Pin
Shameel18-Feb-14 2:47
professionalShameel18-Feb-14 2:47 
GeneralRe: Getting rid of extra click... Pin
Danish Samil18-Feb-14 10:41
Danish Samil18-Feb-14 10:41 
AnswerRe: Getting rid of extra click... Pin
TnTinMn18-Feb-14 12:52
TnTinMn18-Feb-14 12:52 
GeneralRe: Getting rid of extra click... Pin
Danish Samil18-Feb-14 19:15
Danish Samil18-Feb-14 19:15 
QuestionHow to Implement the Search Engine(like google,bing, yahoo, etc.,) using C#? Pin
Anand Gunasekaran17-Feb-14 20:49
professionalAnand Gunasekaran17-Feb-14 20:49 
AnswerRe: How to Implement the Search Engine(like google,bing, yahoo, etc.,) using C#? Pin
Pete O'Hanlon17-Feb-14 20:52
mvePete O'Hanlon17-Feb-14 20:52 
GeneralRe: How to Implement the Search Engine(like google,bing, yahoo, etc.,) using C#? Pin
Anand Gunasekaran17-Feb-14 21:06
professionalAnand Gunasekaran17-Feb-14 21:06 
GeneralRe: How to Implement the Search Engine(like google,bing, yahoo, etc.,) using C#? Pin
Pete O'Hanlon17-Feb-14 21:12
mvePete O'Hanlon17-Feb-14 21:12 
AnswerRe: How to Implement the Search Engine(like google,bing, yahoo, etc.,) using C#? Pin
OriginalGriff17-Feb-14 21:01
mveOriginalGriff17-Feb-14 21:01 
GeneralRe: How to Implement the Search Engine(like google,bing, yahoo, etc.,) using C#? Pin
Anand Gunasekaran17-Feb-14 21:14
professionalAnand Gunasekaran17-Feb-14 21:14 
GeneralRe: How to Implement the Search Engine(like google,bing, yahoo, etc.,) using C#? Pin
Shameel17-Feb-14 22:26
professionalShameel17-Feb-14 22:26 
AnswerRe: How to Implement the Search Engine(like google,bing, yahoo, etc.,) using C#? Pin
Shameel18-Feb-14 2:55
professionalShameel18-Feb-14 2:55 
QuestionConvert "\\r\\n" into "\r\n" Pin
Ashfaque Hussain17-Feb-14 20:00
Ashfaque Hussain17-Feb-14 20:00 
AnswerRe: Convert "\\r\\n" into "\r\n" Pin
Kornfeld Eliyahu Peter17-Feb-14 20:06
professionalKornfeld Eliyahu Peter17-Feb-14 20:06 
GeneralRe: Convert "\\r\\n" into "\r\n" Pin
Ashfaque Hussain17-Feb-14 23:02
Ashfaque Hussain17-Feb-14 23:02 
GeneralRe: Convert "\\r\\n" into "\r\n" Pin
Kornfeld Eliyahu Peter17-Feb-14 23:19
professionalKornfeld Eliyahu Peter17-Feb-14 23:19 
GeneralRe: Convert "\\r\\n" into "\r\n" Pin
Ashfaque Hussain17-Feb-14 23:57
Ashfaque Hussain17-Feb-14 23:57 
GeneralRe: Convert "\\r\\n" into "\r\n" Pin
Kornfeld Eliyahu Peter18-Feb-14 0:01
professionalKornfeld Eliyahu Peter18-Feb-14 0:01 
GeneralRe: Convert "\\r\\n" into "\r\n" Pin
Ashfaque Hussain18-Feb-14 0:39
Ashfaque Hussain18-Feb-14 0:39 
AnswerRe: Convert "\\r\\n" into "\r\n" Pin
Pete O'Hanlon17-Feb-14 20:50
mvePete O'Hanlon17-Feb-14 20:50 
GeneralRe: Convert "\\r\\n" into "\r\n" Pin
Ashfaque Hussain17-Feb-14 22:58
Ashfaque Hussain17-Feb-14 22:58 
No, when i pass \r\n from registry

C#
if (SuffixValue != null)
     _RCVData = _SetSerialPort.ReadTo(SuffixValue);
else
     _RCVData = _SetSerialPort.ReadLine();



From the registry i am taking suffix value "\r\n". When i do hard coding then its working fine:
When i take using variables then its not reading. When i use variable then getting System.TimeoutException: The operation has timed out.

C#
if (SuffixValue != null)
      _RCVData = _SetSerialPort.ReadTo("\r\n");
    else
      _RCVData = _SetSerialPort.ReadLine();


modified 18-Feb-14 6:12am.

GeneralRe: Convert "\\r\\n" into "\r\n" Pin
Ashfaque Hussain18-Feb-14 0:35
Ashfaque Hussain18-Feb-14 0:35 
GeneralRe: Convert "\\r\\n" into "\r\n" Pin
Ashfaque Hussain19-Feb-14 1:43
Ashfaque Hussain19-Feb-14 1:43 
GeneralRe: Convert "\\r\\n" into "\r\n" Pin
Pete O'Hanlon19-Feb-14 3:09
mvePete O'Hanlon19-Feb-14 3:09 

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.