.NET Serial Port Woes. Converting C# Code to VB
问题 I'm having trouble with the SerialPort function intermittently crashing while data logging for several days. It's been a hard problem to debug and I would like to try Zach Saw's fix which he talks about here and provides code for in C# My question is, to do this, do I need to rewrite the entire use of the Serial Port in my code? If I use the System.IO.Ports.SerialPort module, is there a way to just do a DLLImport of SetCommState to set fAbortOnError to false, or do I need to abandon the