Click here to Skip to main content
15,887,288 members
Home / Discussions / C#
   

C#

 
Question"typeloadexception" What is this? How i solve it? Pin
Campaniço20-Sep-05 0:13
Campaniço20-Sep-05 0:13 
AnswerRe: "typeloadexception" What is this? How i solve it? Pin
S. Senthil Kumar20-Sep-05 2:10
S. Senthil Kumar20-Sep-05 2:10 
Questionhow to hide a column in Data Grid Pin
Rizwan Bashir19-Sep-05 23:30
Rizwan Bashir19-Sep-05 23:30 
AnswerRe: how to hide a column in Data Grid Pin
dabuskol20-Sep-05 0:25
dabuskol20-Sep-05 0:25 
GeneralRe: how to hide a column in Data Grid Pin
Rizwan Bashir20-Sep-05 2:34
Rizwan Bashir20-Sep-05 2:34 
GeneralRe: how to hide a column in Data Grid Pin
miah alom20-Sep-05 4:07
miah alom20-Sep-05 4:07 
AnswerRe: how to hide a column in Data Grid Pin
dabuskol20-Sep-05 19:14
dabuskol20-Sep-05 19:14 
QuestionNew serial device problem.. + an old one Pin
cue_ball19-Sep-05 22:21
cue_ball19-Sep-05 22:21 
Hi.. sorry if this is counted as a double loop.
My situation is i wanna seen a string though serial but with the enter key..<cr>

but right now is i sent use what i type in a textbox(words i type +enter key)
then click sent..
the send button is open()-> write () read () then close().

so how guys..

secondly i have another.. problem..

the program is link to a PLC and whenevrer i sent a order command using series, it wil reply me.. but the problem is i only reply some time.. even with e same command..
What can be the pro?
or should i start a thread just for listening?
 private void btnSent_Click(object sender, System.EventArgs e)<br />
      {    <br />
          line.Open(); <br />
      <br />
            string SentString = txtbox.Text ;           <br />
            ArrayByte_Data = new byte[SentString.Length];<br />
            for( int i = 0; i < SentString.Length; i++ )<br />
            {<br />
               ArrayByte_Data[i] = Convert.ToByte(SentString[i]);<br />
<br />
            }<br />
               line.Write(ArrayByte_Data);            <br />
<br />
                    string ReplyString;<br />
	ReplyString = Encoding.ASCII.GetString(line.Read(10));<br />
			txtStatus.Text=ReplyString;<br />
			line.Close();<br />
<br />
          <br />
         }      


this is my send code..
pls advice
QuestionRegarding WebBrower Control Pin
A.Grover19-Sep-05 21:46
A.Grover19-Sep-05 21:46 
AnswerRe: Regarding WebBrower Control Pin
seee sharp19-Sep-05 22:02
seee sharp19-Sep-05 22:02 
GeneralRe: Regarding WebBrower Control Pin
A.Grover19-Sep-05 22:43
A.Grover19-Sep-05 22:43 
GeneralRe: Regarding WebBrower Control Pin
seee sharp20-Sep-05 18:00
seee sharp20-Sep-05 18:00 
QuestionXML in C# Pin
deepscyberpulse19-Sep-05 20:40
deepscyberpulse19-Sep-05 20:40 
AnswerRe: XML in C# Pin
sreejith ss nair19-Sep-05 20:54
sreejith ss nair19-Sep-05 20:54 
QuestionHow do i Charge Credit Cards for my Program? Pin
mattylovestara19-Sep-05 20:27
mattylovestara19-Sep-05 20:27 
AnswerRe: How do i Charge Credit Cards for my Program? Pin
sreejith ss nair19-Sep-05 20:36
sreejith ss nair19-Sep-05 20:36 
AnswerRe: How do i Charge Credit Cards for my Program? Pin
seee sharp19-Sep-05 20:54
seee sharp19-Sep-05 20:54 
QuestionWindows Authentication Pin
pavan bhatara19-Sep-05 20:25
pavan bhatara19-Sep-05 20:25 
AnswerRe: Windows Authentication Pin
sreejith ss nair19-Sep-05 20:40
sreejith ss nair19-Sep-05 20:40 
QuestionOutput Caching Pin
Anonymous19-Sep-05 20:02
Anonymous19-Sep-05 20:02 
AnswerRe: Output Caching Pin
seee sharp19-Sep-05 20:09
seee sharp19-Sep-05 20:09 
Questionserialization in .Net Pin
Anonymous19-Sep-05 19:22
Anonymous19-Sep-05 19:22 
AnswerRe: serialization in .Net Pin
turbochimp19-Sep-05 19:34
turbochimp19-Sep-05 19:34 
AnswerRe: serialization in .Net Pin
seee sharp19-Sep-05 19:39
seee sharp19-Sep-05 19:39 
QuestionMemory usage in C# .Net Pin
ppp00119-Sep-05 17:53
ppp00119-Sep-05 17:53 

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.