Click here to Skip to main content
15,884,177 members
Home / Discussions / C#
   

C#

 
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 
Hi,
When i am trying to read long string like more that 5 characters then characters are splitting.
EX: Q2345456
output - Q2345


C#
public void RecievedData(object sender, SerialDataReceivedEventArgs e)
        {

            try
            {
                //Thread.Sleep(200);
              //  byte[] bytes = new byte[_SetSerialPort.BytesToRead];
               // _SetSerialPort.Read(bytes, 0, bytes.Length);

                _RCVData = _SetSerialPort.ReadExisting();
                  //  _RCVData = _SetSerialPort.ReadExisting();
                    
                    if (SerialDataEvent != null)
                    {
                        SerialDataEvent(_RCVData);

                    }

               // ClearBuffer();
            }
            catch (Exception ex)
            {
                _RCVData = null;
                _PortLog.LogHandler("RFIO", Assembly.GetEntryAssembly().GetName().Version.ToString(), 1, this.ToString(), "RecievedData()", ex.ToString());
            }
        }


modified 17-Feb-14 1:46am.

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 
QuestionStarting a new project in C# Pin
FilipJ16-Feb-14 15:18
FilipJ16-Feb-14 15:18 
AnswerRe: Starting a new project in C# Pin
Mycroft Holmes16-Feb-14 16:06
professionalMycroft Holmes16-Feb-14 16:06 
GeneralRe: Starting a new project in C# Pin
FilipJ16-Feb-14 16:55
FilipJ16-Feb-14 16:55 
GeneralRe: Starting a new project in C# Pin
Mycroft Holmes16-Feb-14 17:08
professionalMycroft Holmes16-Feb-14 17:08 
GeneralRe: Starting a new project in C# Pin
FilipJ16-Feb-14 17:38
FilipJ16-Feb-14 17:38 
GeneralRe: Starting a new project in C# Pin
Mycroft Holmes16-Feb-14 17:56
professionalMycroft Holmes16-Feb-14 17:56 
GeneralRe: Starting a new project in C# Pin
FilipJ16-Feb-14 18:10
FilipJ16-Feb-14 18:10 
AnswerRe: Starting a new project in C# Pin
Peter Leow16-Feb-14 16:36
professionalPeter Leow16-Feb-14 16:36 
GeneralRe: Starting a new project in C# Pin
FilipJ16-Feb-14 17:45
FilipJ16-Feb-14 17:45 
AnswerRe: Starting a new project in C# Pin
V.16-Feb-14 21:22
professionalV.16-Feb-14 21:22 

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.