Click here to Skip to main content
15,922,584 members
Home / Discussions / C#
   

C#

 
GeneralRe: How can we get all workgroups on LAN using C# Pin
Venki5610-Dec-08 0:14
Venki5610-Dec-08 0:14 
QuestionProblem in Reading from serial port Pin
TJS4u9-Dec-08 1:06
TJS4u9-Dec-08 1:06 
AnswerRe: Problem in Reading from serial port Pin
Giorgi Dalakishvili9-Dec-08 1:10
mentorGiorgi Dalakishvili9-Dec-08 1:10 
AnswerRe: Problem in Reading from serial port Pin
Simon P Stevens9-Dec-08 1:11
Simon P Stevens9-Dec-08 1:11 
GeneralRe: Problem in Reading from serial port Pin
TJS4u9-Dec-08 1:18
TJS4u9-Dec-08 1:18 
GeneralRe: Problem in Reading from serial port Pin
Simon P Stevens9-Dec-08 1:27
Simon P Stevens9-Dec-08 1:27 
GeneralRe: Problem in Reading from serial port Pin
TJS4u9-Dec-08 1:38
TJS4u9-Dec-08 1:38 
AnswerRe: Problem in Reading from serial port Pin
Eddy Vluggen9-Dec-08 1:21
professionalEddy Vluggen9-Dec-08 1:21 
TJS4u wrote:
i treid the code below but nothing happens....


That's incorrect, as something did happen. Either you didn't see it happen, or you didn't understand what happens.

The serial port doesn't "remember" that you sent an "A", since there is no memory attached to the serial port. Did you get an exception, or did the serial-port just 'eat' the information you sent?

Same problem with reading from the serial port. If there isn't anything attached and sending messages, then there won't be anything to read from the port.

Your best option would be going out to buy a "null-modem cable", or something that can echo the signals from the serial port.

I wish you lots of luck, as you are going to need it Frown | :(
GeneralRe: Problem in Reading from serial port Pin
TJS4u9-Dec-08 1:34
TJS4u9-Dec-08 1:34 
GeneralRe: Problem in Reading from serial port Pin
Eddy Vluggen9-Dec-08 1:47
professionalEddy Vluggen9-Dec-08 1:47 
GeneralRe: Problem in Reading from serial port Pin
TJS4u9-Dec-08 1:56
TJS4u9-Dec-08 1:56 
GeneralRe: Problem in Reading from serial port Pin
Eddy Vluggen9-Dec-08 3:11
professionalEddy Vluggen9-Dec-08 3:11 
GeneralRe: Problem in Reading from serial port Pin
TJS4u9-Dec-08 3:19
TJS4u9-Dec-08 3:19 
GeneralRe: Problem in Reading from serial port Pin
Eddy Vluggen9-Dec-08 3:25
professionalEddy Vluggen9-Dec-08 3:25 
GeneralRe: Problem in Reading from serial port Pin
Luc Pattyn9-Dec-08 1:59
sitebuilderLuc Pattyn9-Dec-08 1:59 
Questioncreate slidable form [modified] Pin
Member 44132839-Dec-08 0:47
Member 44132839-Dec-08 0:47 
AnswerRe: create slidable form Pin
Simon P Stevens9-Dec-08 0:53
Simon P Stevens9-Dec-08 0:53 
AnswerRe: create slidable form Pin
Brij9-Dec-08 0:57
mentorBrij9-Dec-08 0:57 
QuestionHow to Read and Write to Serial Port using C# Pin
TJS4u9-Dec-08 0:46
TJS4u9-Dec-08 0:46 
AnswerRe: How to Read and Write to Serial Port using C# Pin
Simon P Stevens9-Dec-08 0:51
Simon P Stevens9-Dec-08 0:51 
GeneralRe: How to Read and Write to Serial Port using C# Pin
TJS4u9-Dec-08 0:56
TJS4u9-Dec-08 0:56 
GeneralRe: How to Read and Write to Serial Port using C# Pin
leppie9-Dec-08 1:08
leppie9-Dec-08 1:08 
GeneralRe: How to Read and Write to Serial Port using C# Pin
TJS4u9-Dec-08 1:20
TJS4u9-Dec-08 1:20 
GeneralRe: How to Read and Write to Serial Port using C# Pin
Simon P Stevens9-Dec-08 1:10
Simon P Stevens9-Dec-08 1:10 
AnswerRe: How to Read and Write to Serial Port using C# Pin
Giorgi Dalakishvili9-Dec-08 0:52
mentorGiorgi Dalakishvili9-Dec-08 0:52 

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.