Click here to Skip to main content
15,915,328 members
Home / Discussions / C#
   

C#

 
GeneralRe: Issue with opening multiple form using delegate.BeginInvoke()...new form get hanged...Plz help Pin
Chintan.Desai2-May-10 23:27
Chintan.Desai2-May-10 23:27 
GeneralRe: Issue with opening multiple form using delegate.BeginInvoke()...new form get hanged...Plz help Pin
Ian Shlasko3-May-10 1:56
Ian Shlasko3-May-10 1:56 
AnswerRe: Issue with opening multiple form using delegate.BeginInvoke()...new form get hanged...Plz help Pin
#realJSOP30-Apr-10 9:59
professional#realJSOP30-Apr-10 9:59 
QuestionserialPort Pin
jashimu30-Apr-10 3:07
jashimu30-Apr-10 3:07 
AnswerRe: serialPort Pin
OriginalGriff30-Apr-10 3:17
mveOriginalGriff30-Apr-10 3:17 
GeneralRe: serialPort Pin
jashimu30-Apr-10 3:37
jashimu30-Apr-10 3:37 
GeneralRe: serialPort Pin
OriginalGriff30-Apr-10 3:42
mveOriginalGriff30-Apr-10 3:42 
GeneralRe: serialPort Pin
jashimu30-Apr-10 4:41
jashimu30-Apr-10 4:41 
Hi everyone, I got my solution by doing this. If anyone has the same problem you may try this.
serialPort1 = new SerialPort("COM3", 19200, Parity.None, 8, StopBits.One);<br />
            serialPort1.ReadTimeout = 1000;<br />
            serialPort1.Handshake = Handshake.None;<br />
            serialPort1.ReceivedBytesThreshold = 1;<br />
            this.serialPort1.DtrEnable = true;<br />
            this.serialPort1.Handshake = System.IO.Ports.Handshake.RequestToSend;<br />
            this.serialPort1.ParityReplace =  (System.Byte)(0);<br />
<br />
            if (!serialPort1.IsOpen)<br />
                //serialPort1.Close();<br />
            serialPort1.Open();<br />
        this.serialPort1.DataReceived += new System.IO.Ports.SerialDataReceivedEventHandler(this.serialPort1_DataReceived);<br />
            byte[] request1 = new byte[] { (byte)'P', 4, 40, (byte)'@' };<br />
            serialPort1.Write(request1, 0, request1.Length);<br />
            textBox1.Text = serialPort1.BytesToRead.ToString();<br />
            this.serialPort1.ErrorReceived += new SerialErrorReceivedEventHandler(serialPort1_ErrorReceived);// you do not need this but to make sure it detect error

AnswerRe: serialPort Pin
Luc Pattyn30-Apr-10 5:31
sitebuilderLuc Pattyn30-Apr-10 5:31 
QuestionHow to create a datagrid in property grid Pin
Sangeetha2330-Apr-10 2:28
Sangeetha2330-Apr-10 2:28 
AnswerRe: How to create a datagrid in property grid Pin
Eddy Vluggen30-Apr-10 5:11
professionalEddy Vluggen30-Apr-10 5:11 
GeneralRe: How to create a datagrid in property grid Pin
Henry Minute30-Apr-10 6:52
Henry Minute30-Apr-10 6:52 
GeneralRe: How to create a datagrid in property grid Pin
Eddy Vluggen30-Apr-10 7:43
professionalEddy Vluggen30-Apr-10 7:43 
GeneralRe: How to create a datagrid in property grid Pin
Sangeetha232-May-10 18:17
Sangeetha232-May-10 18:17 
GeneralRe: How to create a datagrid in property grid Pin
Sangeetha232-May-10 19:29
Sangeetha232-May-10 19:29 
GeneralRe: How to create a datagrid in property grid Pin
Henry Minute3-May-10 3:15
Henry Minute3-May-10 3:15 
QuestionString formatting? Pin
Dirk C De Winnaar30-Apr-10 2:03
Dirk C De Winnaar30-Apr-10 2:03 
AnswerRe: String formatting? [modified] Pin
Luc Pattyn30-Apr-10 2:33
sitebuilderLuc Pattyn30-Apr-10 2:33 
GeneralRe: String formatting? Pin
Not Active30-Apr-10 2:51
mentorNot Active30-Apr-10 2:51 
GeneralRe: String formatting? Pin
Luc Pattyn30-Apr-10 3:13
sitebuilderLuc Pattyn30-Apr-10 3:13 
GeneralRe: String formatting? Pin
Not Active30-Apr-10 4:06
mentorNot Active30-Apr-10 4:06 
GeneralRe: String formatting? Pin
Luc Pattyn30-Apr-10 4:21
sitebuilderLuc Pattyn30-Apr-10 4:21 
GeneralRe: String formatting? Pin
Not Active30-Apr-10 4:49
mentorNot Active30-Apr-10 4:49 
GeneralRe: String formatting? Pin
Luc Pattyn30-Apr-10 4:54
sitebuilderLuc Pattyn30-Apr-10 4:54 
AnswerRe: String formatting? Pin
Not Active30-Apr-10 2:47
mentorNot Active30-Apr-10 2:47 

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.