Which database are you targeting?
I have discovered over the years that it is a lot faster to always update the DSN (instead of reading and comparing).
>Hi Eric
>
>Sorry guess I wasn't very clear there...
>
>I want to create a DSN, and I want to be able to read it as well, so I can make changes if I wanted to, all from VB
>
>The link you pointed to has SQL Server for the db, I assume it won't be any different if I use other db fomats?
>
>Thanks!
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com