Click here to Skip to main content
15,878,852 members
Home / Discussions / C#
   

C#

 
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 
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 
Ok Ok...i am agree with you, what you are telling is correct. But can you run this and check why its not showing the TRUE results:::

C#
class Program
  {
      static void Main(string[] args)
      {
          string check = "324214234\r\n";
          RegistryKey regKey = Registry.LocalMachine.CreateSubKey("SOFTWARE\\MyRegKey\\Settings");
          regKey.SetValue("ReceiveSplChar", @"\r\n");
          string value = regKey.GetValue("ReceiveSplChar").ToString();
          if (check.Contains(value))
              Console.WriteLine("TRUE");
      }
  }

GeneralRe: Convert "\\r\\n" into "\r\n" Pin
Pete O'Hanlon19-Feb-14 3:09
mvePete O'Hanlon19-Feb-14 3:09 
AnswerRe: Convert "\\r\\n" into "\r\n" Pin
Anand Gunasekaran17-Feb-14 21:33
professionalAnand Gunasekaran17-Feb-14 21:33 
QuestionDatetime can't be change to other format [dd/MM/yyyy] to [MM/dd/yyyy],[yyyy/MM/dd],... like that I am Jquery in asp.net,c# Pin
pkarthionline17-Feb-14 17:51
pkarthionline17-Feb-14 17:51 
AnswerRe: Datetime can't be change to other format [dd/MM/yyyy] to [MM/dd/yyyy],[yyyy/MM/dd],... like that I am Jquery in asp.net,c# Pin
V.17-Feb-14 19:37
professionalV.17-Feb-14 19:37 
AnswerRe: Datetime can't be change to other format [dd/MM/yyyy] to [MM/dd/yyyy],[yyyy/MM/dd],... like that I am Jquery in asp.net,c# Pin
Kornfeld Eliyahu Peter17-Feb-14 20:02
professionalKornfeld Eliyahu Peter17-Feb-14 20:02 
RantRe: Datetime can't be change to other format [dd/MM/yyyy] to [MM/dd/yyyy],[yyyy/MM/dd],... like that I am Jquery in asp.net,c# Pin
Richard Deeming18-Feb-14 0:58
mveRichard Deeming18-Feb-14 0:58 
Questionhow to count 3 seconds before running the code? Pin
Jassim Rahma17-Feb-14 3:31
Jassim Rahma17-Feb-14 3:31 
SuggestionRe: how to count 3 seconds before running the code? Pin
Richard MacCutchan17-Feb-14 4:23
mveRichard MacCutchan17-Feb-14 4:23 
AnswerRe: how to count 3 seconds before running the code? Pin
Luojana17-Feb-14 8:08
Luojana17-Feb-14 8:08 
QuestionCharacters are missing in Serial Port Communication Pin
Ashfaque Hussain16-Feb-14 19:10
Ashfaque Hussain16-Feb-14 19:10 
AnswerRe: Characters are missing in Serial Port Communication Pin
OriginalGriff16-Feb-14 20:09
mveOriginalGriff16-Feb-14 20:09 
GeneralRe: Characters are missing in Serial Port Communication Pin
Ashfaque Hussain16-Feb-14 22:41
Ashfaque Hussain16-Feb-14 22:41 
GeneralRe: Characters are missing in Serial Port Communication Pin
OriginalGriff16-Feb-14 22:47
mveOriginalGriff16-Feb-14 22:47 
GeneralRe: Characters are missing in Serial Port Communication Pin
Marco Bertschi17-Feb-14 1:06
protectorMarco Bertschi17-Feb-14 1:06 
GeneralRe: Characters are missing in Serial Port Communication Pin
OriginalGriff17-Feb-14 1:31
mveOriginalGriff17-Feb-14 1:31 
GeneralRe: Characters are missing in Serial Port Communication Pin
Marco Bertschi17-Feb-14 1:44
protectorMarco Bertschi17-Feb-14 1:44 
AnswerRe: Characters are missing in Serial Port Communication Pin
Marco Bertschi17-Feb-14 1:14
protectorMarco Bertschi17-Feb-14 1:14 

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.