PDA

View Full Version : Configure MySQL ODBC driver?


huckfinn
05-29-2003, 08:49 PM
Hi, I'm working on a MFC application and I need to be able to prompt the window "MySQL ODBC 3.51 Driver - DSN Configuration" for the user to configure a dsn connection...

This is like selecting the "ODBC Data Source Administrator", selecting the File DSN tab, clicking one of the dsn links and then pressing configure...

Is there a way to prompt this precise window programmatically?

Thanks,

Simon

raf
06-01-2003, 09:57 PM
I might just be stupid but:
- what is a MFC application;
- you wan't the users to be able to create a DSN to the MySQL database? Why??

huckfinn
06-02-2003, 01:53 PM
MFC = Microsoft Foundation Classes... This is a C++ application design with Visual C++ ...

I need to setup the DSN programmaticaly because the app I'm writing will be show Crystal Reports... Using a DSN connection... I Want it to be as easy as possible for the users to view reports on their computer, so I want to set up everything programmatically...

Simon