Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Connecting database

Connecting database

Scheduled Pinned Locked Moved C / C++ / MFC
databasequestion
2 Posts 2 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    joy007
    wrote on last edited by
    #1

    Recently I gone through a project in which I used a ".mdb" database.But whenever I took the application in different systems,I had to connect,once, the certain database manually by clicking "ODBC data sources Administrator" in control panel and choosing the right path. I think it is not suitable for the users ,actually when the application is distributed,to do the right steps in connecting the database. So,is it possible to code it within the project so that it automatically connects to its required database at the time of initialisation of the application for the first time?

    N 1 Reply Last reply
    0
    • J joy007

      Recently I gone through a project in which I used a ".mdb" database.But whenever I took the application in different systems,I had to connect,once, the certain database manually by clicking "ODBC data sources Administrator" in control panel and choosing the right path. I think it is not suitable for the users ,actually when the application is distributed,to do the right steps in connecting the database. So,is it possible to code it within the project so that it automatically connects to its required database at the time of initialisation of the application for the first time?

      N Offline
      N Offline
      Nemanja Trifunovic
      wrote on last edited by
      #2

      joy007 wrote: So,is it possible to code it within the project so that it automatically connects to its required database at the time of initialisation of the application for the first time? Yes[^]


      My programming blahblahblah blog. If you ever find anything useful here, please let me know to remove it.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups