Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dynamically setting up DSN (^_^!!)

Status
Not open for further replies.

solostar

Technical User
Jan 18, 2004
10
0
0
SG
Hi!

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! =)
 
Found in Google Groups:

Check out the header file named ODBCINST.H

This should give you the reference you need to create your connections.

Hope this helps.

- Glen

Know thy data.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top