Im writing a windows application using visual c++. I need t set up the DSN dynamically... how do i go about doing it? im using Access and ODBC connection... How do i go about doing that??? I dont want to specify the DSN using the option available from the control panel. Iwant to do it within my code. is that possible?

any help is greatly appreciated! =)