By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,989 Members | 2,392 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,989 IT Pros & Developers. It's quick & easy.

Serial Control

P: n/a
How do I set the encoding of the serial port object.
I send non-printable text Chr(248) to the control and it shows question
marks (?)
and doesn't recognize the chr(248)

Private Shared Sub SerialPort_DataReceived(ByVal sender As Object, ByVal e
As _

System.IO.Ports.SerialDataReceivedEventArgs) Handles SerialPort.DataReceived

Dim Buffer As String = SerialPort.ReadExisting()

DefInstance.txtTerm.BeginInvoke(New _

DisplayData(AddressOf Display), _

New Object() {Buffer})

Nov 10 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.