0
Answer

How to get list of DSNs

Jeff

Jeff

16y
2k
1

I am writing an app that will need to allow the user to select a database to connect to.  How do I get a list of DSNs for the user to choose from?  I was also curious if there is a way to get a list of Databases on the users network?  I'm kind of new to programming and was wondering how developers usually handle this situation.  I've been researching how to do this and it is hard to find any information.  It seems like this would be a very common task and I think it is strange that there is such a lack of information on how to do it.  Am I wrong?  Do most apps just hardwire a db connection?