Have you checked out MyConnector/NET and the MySqlException class? -----Original Message----- From: Asif Lodhi [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 02, 2006 6:17 AM To: mysql@lists.mysql.com Subject: Database Return Errors
Hi, I am developing a VB6 app with a MySQL-5.0.22/WinXP backend. I have skimmed the Stored Procedures/Triggers docs and it looks like I can define custom error-names or number - though I have also seen the "Handlers" in the same doc. The question is: Can I get the error-codes or error-names that MySQL returns in VB6',s ADO.Erross collection? Will I get one if MySQL throws an error - such as when a duplicate constraint is violated? -> so that I can display meaningful error messages to the user. -- TIA, Asif -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED] -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]