exceptons thrown when form is exiting the applications
Posted: Thu 01 Jun 2006 21:06
Hello,
I have a LED which is green which turns green when a successful connection to MySQL is accomplished (I set it green in the AfterConnect even on a MyConnection component)
But when I put some code to turn it red in either the AfterDisconnect or BeforeDisconnect event it works great....except when the program exits. When it exits I get alot of weird Exceptions. Is there a way to solve this elegantly?
I have a LED which is green which turns green when a successful connection to MySQL is accomplished (I set it green in the AfterConnect even on a MyConnection component)
But when I put some code to turn it red in either the AfterDisconnect or BeforeDisconnect event it works great....except when the program exits. When it exits I get alot of weird Exceptions. Is there a way to solve this elegantly?