I have the situation where the USB connected com port could have been disconnected before the call to the WriteText method. When this occurs, I get an exception.
So, I've attached an exception handler to OnErrorException, which at least allows me to log the error and hopefully take some action. I've found though that the exception keeps getting raised in a loop.
What action do I need to perform on TVaComm to clear the exception and disable it so the active property becomes false?