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

C#

 
AnswerRe: WebBrowser control in C# Pin
M Rayhan24-Oct-13 20:30
M Rayhan24-Oct-13 20:30 
GeneralRe: WebBrowser control in C# Pin
msr_codeproject24-Oct-13 20:57
msr_codeproject24-Oct-13 20:57 
AnswerRe: WebBrowser control in C# Pin
Eddy Vluggen24-Oct-13 22:49
professionalEddy Vluggen24-Oct-13 22:49 
Questioncalculator Pin
Sottyoru24-Oct-13 12:45
Sottyoru24-Oct-13 12:45 
AnswerRe: calculator Pin
PIEBALDconsult24-Oct-13 17:12
mvePIEBALDconsult24-Oct-13 17:12 
AnswerRe: calculator Pin
BillWoodruff24-Oct-13 17:33
professionalBillWoodruff24-Oct-13 17:33 
AnswerRe: calculator Pin
V.25-Oct-13 3:10
professionalV.25-Oct-13 3:10 
QuestionReading from serial port Pin
alfie.max1524-Oct-13 7:39
alfie.max1524-Oct-13 7:39 
I am trying to make a serial port terminal and i have succesfully made it except for some problems that i am facing.

i have a button pressing which the terminal starts and the data from the serial port start to get displayed on the textbox.
when i press the button again the serial port closes.

Also i have put the code to read from the serial port in a timer with a time of 1 millisecond. So it automatically works like a loop and the data can be displayed continuously.

Case 1. when i try reading from the serial port using

_SerialPort.ReadLine ()


what happens is that the data is getting displayed perfectly, but i am not able to press the button again to close the serial port, also i cant even close the application. I would have to use the task manager to kill the process.

Case 2. when i try reading from the serial port using

C#
_SerialPort.ReadExisting ()


what happens is that the earlier issue is resolved, but the data that is received is not continuous, that is some values are not recieved.
AnswerRe: Reading from serial port Pin
jschell24-Oct-13 7:57
jschell24-Oct-13 7:57 
GeneralRe: Reading from serial port Pin
alfie.max1524-Oct-13 8:18
alfie.max1524-Oct-13 8:18 
AnswerRe: Reading from serial port Pin
OriginalGriff24-Oct-13 8:08
mveOriginalGriff24-Oct-13 8:08 
GeneralRe: Reading from serial port Pin
alfie.max1524-Oct-13 8:58
alfie.max1524-Oct-13 8:58 
GeneralRe: Reading from serial port Pin
OriginalGriff24-Oct-13 9:07
mveOriginalGriff24-Oct-13 9:07 
GeneralRe: Reading from serial port Pin
alfie.max1524-Oct-13 9:13
alfie.max1524-Oct-13 9:13 
AnswerRe: Reading from serial port Pin
OriginalGriff24-Oct-13 9:51
mveOriginalGriff24-Oct-13 9:51 
GeneralRe: Reading from serial port Pin
alfie.max1524-Oct-13 19:12
alfie.max1524-Oct-13 19:12 
GeneralRe: Reading from serial port Pin
OriginalGriff24-Oct-13 21:50
mveOriginalGriff24-Oct-13 21:50 
GeneralRe: Reading from serial port Pin
alfie.max1525-Oct-13 1:30
alfie.max1525-Oct-13 1:30 
AnswerRe: Reading from serial port Pin
PIEBALDconsult24-Oct-13 17:32
mvePIEBALDconsult24-Oct-13 17:32 
QuestionI need help with control inheritance Pin
deebow24-Oct-13 4:39
deebow24-Oct-13 4:39 
AnswerRe: I need help with control inheritance Pin
OriginalGriff24-Oct-13 5:02
mveOriginalGriff24-Oct-13 5:02 
GeneralRe: I need help with control inheritance Pin
BillWoodruff24-Oct-13 6:07
professionalBillWoodruff24-Oct-13 6:07 
AnswerRe: I need help with control inheritance Pin
BillWoodruff24-Oct-13 6:02
professionalBillWoodruff24-Oct-13 6:02 
GeneralRe: I need help with control inheritance Pin
OriginalGriff24-Oct-13 6:25
mveOriginalGriff24-Oct-13 6:25 
GeneralRe: I need help with control inheritance Pin
deebow24-Oct-13 6:44
deebow24-Oct-13 6:44 

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.