You might want to take a look at
fox@konstruct.com There is an article written there on programatically creating odbc connections and such. It might help in finding out how to create a system dsn.
Pat.
>>I have been trying to research how to progmatically create a System DSN. When the application starts for the first time I would like to check to see if an ODBC data source exists, if not, I would like to create it for the user. It doesn't make sense to go to every PC into their control panel and create a DSN for every machine the app is installed on.
>
>I have posted a similar question today, and I haven't got any suggestions from the forum yet. If you have a way to do it, please let me know.
>Thanks!
Patrick L. Stovall
Senior Architect/Developer
MCP - C#
VeroQuest
P.O.Box 7216
Kalispell, MT 59904