Thread: ODBC Local Data source?

  1. #1
    Registered User
    Join Date
    Sep 2001
    Location
    England
    Posts
    121

    ODBC Local Data source?

    I'm using ODBC because I know the API, but I dont need it's network/server related features because it will only be used on a single PC at once. Because of this it would be much more convenient to have the data source specified locally, e.g database.mdb in the current directory, to avoid setting the data source up through control panel, how do I do this?

    Any help is appreciated

    Btw the app is an MDI in MFC using VC++6.0 Enterprise with an Access 2002 database

  2. #2
    Unregistered
    Guest
    Greetings,

    You might want to take a look at Code Guru. Several links in there regarding database and ODBC, including a couple ways of dinamically creating a DSN, wich is what you want, i think.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. xor linked list
    By adramalech in forum C Programming
    Replies: 23
    Last Post: 10-14-2008, 10:13 AM
  2. Threads to keep the CPU faster than the disk?
    By matthew180 in forum C Programming
    Replies: 4
    Last Post: 06-06-2007, 03:23 PM
  3. Intercepting Data Bound for Local Application from Remote Server
    By maththeorylvr in forum Networking/Device Communication
    Replies: 2
    Last Post: 11-29-2005, 01:57 AM
  4. [question]Analyzing data in a two-dimensional array
    By burbose in forum C Programming
    Replies: 2
    Last Post: 06-13-2005, 07:31 AM
  5. can't insert data into my B-Tree class structure
    By daluu in forum C++ Programming
    Replies: 0
    Last Post: 12-05-2002, 06:03 PM