O
Otis Mukinfus
I have been unable to get the DataReceived event of the SerialPort component to
fire.
Here is a sample of the code I found on the web that is said to work around a
bug in this control, but if the event doesn't fire, I don't see how it can do
anything.
private void DoUpdate(object s, EventArgs e)
{
Debug.WriteLine("Data Received");
}
private void orionSerialPort_DataReceived(object sender,
System.IO.Ports.SerialDataReceivedEventArgs e)
{
this.Invoke(new EventHandler(DoUpdate));
}
Anyway, that doesn't solve the problem.
Anyone have experience with the SerialPortComponent for .NET 2.0?
Good luck with your project,
Otis Mukinfus
http://www.arltex.com
http://www.tomchilders.com
fire.
Here is a sample of the code I found on the web that is said to work around a
bug in this control, but if the event doesn't fire, I don't see how it can do
anything.
private void DoUpdate(object s, EventArgs e)
{
Debug.WriteLine("Data Received");
}
private void orionSerialPort_DataReceived(object sender,
System.IO.Ports.SerialDataReceivedEventArgs e)
{
this.Invoke(new EventHandler(DoUpdate));
}
Anyway, that doesn't solve the problem.
Anyone have experience with the SerialPortComponent for .NET 2.0?
Good luck with your project,
Otis Mukinfus
http://www.arltex.com
http://www.tomchilders.com