Serial Port

G

Guest

How do I send (convert) this VB command below out the serial port in C# using
the C# serialport tool?

MSCOMM1.Output = "B" & "H" & "3" & Chr$(13)

Thanks
CM
 
I

Ignacio Machin \( .NET/ C# MVP \)

Hi,

There is a SerialPort class in .NET 2.0. You can use it to send your bytes.
Take a look at it in MSDN
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top