views:

143

answers:

2

I am writing a vb.net app that has a piece which needs to send a small command to comm port 2 and get the return result. The problem is .net doesnt have any support for serial communication seems like. Please help.

I just need to send the command "headtype" and get the result.

+3  A: 

Take a look at the SerialPort class.

Austin Salonen
Thanks!!!!!!!!!
Sean P
+3  A: 

It certainly does, System.IO.Ports.SerialPort, available since .NET 2.0

Hans Passant
And previous to that, there was a free 3rd party tool... I've used both in several projects now, and it works perfectly +1 to you and @Austin for good answers, and for beating me to them.
David Stratton
THANKS!!!!!!!!!!
Sean P