Hi Friends !
I want to create DSN automatically with common dialog to choose database. I don't want user have to go to control pannel \ Administrative tools \ ODBC Manager for create DSN. I am using MS Access as My Database. How can i do it ? Plz help .

Recommended Answers

All 2 Replies

I believe it stores DSN information in the registry, so you could try doing it that way. I don't know how you would do this (never done it before myself) - I'm just offering an idea on how to do what you are looking for.

i have the code but not now.

I will send you that later on.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.