Hi , > -----Original Message----- > From: mySQL list [mailto:[EMAIL PROTECTED]] > Sent: Friday, June 07, 2002 2:35 AM > To: [EMAIL PROTECTED] > Subject: MyODBC DSN Configuration Dialog Hidden > > > Hi, > > I have a vb application which connects to mysql via > ado/myodbc 3.51.03. In > it, users can choose to connect to databases on different machines. I > construct a connection string from the hostname, database > etc. So far so > good. > > The problem I have only occurs (as far as I can tell) on > Windows XP, not > Windows 2000: If I try and connect to a host where mysql is > not running, the > driver pops up an error message box, > saying [MySQL][ODBC 3.51 Driver] Can't connect to MySQL > server on 'hostname' > (10061), then after clicking ok, the DSN Configuration Dialog > is opened, but > hidden behind the application window. In contrast, on Windows > 2000, no error > message box or dsn dialog appears at all (which I prefer).
You can disable the re-connect prompt in ado by using DriverNoPrompt option from your conn.open method. You can also disable the prompt during the failed connection from the DSN using the option 'Don't prompt on connect'. And as far as hidden dialog, am not sure how does that come in to picture as we use XP and 2000 for all internal testing. Can you cross check whether the dialog is really active by using 'alt-tab' ? Regards, Venu -- For technical support contracts, go to https://order.mysql.com __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Mr. Venu <[EMAIL PROTECTED]> / /|_/ / // /\ \/ /_/ / /__ MySQL AB, Developer /_/ /_/\_, /___/\___\_\___/ California, USA <___/ www.mysql.com --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php