Jeff

Jeff

  • NA
  • 6
  • 0

How to get list of DSNs

Nov 23 2007 2:44 PM

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?