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. Database & SysAdmin
  3. Database
  4. MSAccess without MFC

MSAccess without MFC

Scheduled Pinned Locked Moved Database
c++databasehelptutorialquestion
6 Posts 4 Posters 0 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.
  • D Offline
    D Offline
    Dels
    wrote on last edited by
    #1

    Howdy, does anybody know how to connect to an MSAccess database directly (using the file not a DSN) with VC without using MFC? This database is also encrypted so it has a cmb & wgf as opposed to an mdb. Some source or examples would be a life saver I'll be eternally endebted to anybody who can help Thanks Desperate Damian

    M T C 3 Replies Last reply
    0
    • D Dels

      Howdy, does anybody know how to connect to an MSAccess database directly (using the file not a DSN) with VC without using MFC? This database is also encrypted so it has a cmb & wgf as opposed to an mdb. Some source or examples would be a life saver I'll be eternally endebted to anybody who can help Thanks Desperate Damian

      M Offline
      M Offline
      Mazdak
      wrote on last edited by
      #2

      There are lot of articles in CP like this one: http://codeproject.com/database/caaadoclass1.asp Mazy "The path you tread is narrow and the drop is shear and very high, The ravens all are watching from a vantage point near by, Apprehension creeping like a choo-train uo your spine, Will the tightrope reach the end;will the final cuplet rhyme?"Cymbaline-Pink Floyd

      1 Reply Last reply
      0
      • D Dels

        Howdy, does anybody know how to connect to an MSAccess database directly (using the file not a DSN) with VC without using MFC? This database is also encrypted so it has a cmb & wgf as opposed to an mdb. Some source or examples would be a life saver I'll be eternally endebted to anybody who can help Thanks Desperate Damian

        T Offline
        T Offline
        Tom Archer
        wrote on last edited by
        #3

        There are many ways to do this: * ODBC SDK * DAO SDK * DAO Automation interface * ADO Automation interface Since I cover each of these in my Visual C++ .NET bible, let me know which one you're interested in and I'll send you a simple maintanence-like application for that data access technology. Cheers, Tom Archer Author, Inside C# A total abstainer is one who abstains from everything but abstention, and especially from inactivity in the affairs of others.

        D 1 Reply Last reply
        0
        • T Tom Archer

          There are many ways to do this: * ODBC SDK * DAO SDK * DAO Automation interface * ADO Automation interface Since I cover each of these in my Visual C++ .NET bible, let me know which one you're interested in and I'll send you a simple maintanence-like application for that data access technology. Cheers, Tom Archer Author, Inside C# A total abstainer is one who abstains from everything but abstention, and especially from inactivity in the affairs of others.

          D Offline
          D Offline
          Dels
          wrote on last edited by
          #4

          Thanks, however my spec just changed again and the client want me to use SQL which isn't a problem. However they want me to access it using OLE which is a problem for me (I don't have a problem using ADO and ODBC but OLE looks ghastly to me). You can't help here can you ????? Thanks Damian Del Campo

          T 1 Reply Last reply
          0
          • D Dels

            Thanks, however my spec just changed again and the client want me to use SQL which isn't a problem. However they want me to access it using OLE which is a problem for me (I don't have a problem using ADO and ODBC but OLE looks ghastly to me). You can't help here can you ????? Thanks Damian Del Campo

            T Offline
            T Offline
            Tom Archer
            wrote on last edited by
            #5

            Sorry mate. I have little to no OLEDB experience. It just never made sense as ADO is so much easier to use. Cheers, Tom Archer Author - Inside C#, Visual C++.NET Bible A total abstainer is one who abstains from everything but abstention, and especially from inactivity in the af

            1 Reply Last reply
            0
            • D Dels

              Howdy, does anybody know how to connect to an MSAccess database directly (using the file not a DSN) with VC without using MFC? This database is also encrypted so it has a cmb & wgf as opposed to an mdb. Some source or examples would be a life saver I'll be eternally endebted to anybody who can help Thanks Desperate Damian

              C Offline
              C Offline
              Carlos Antollini
              wrote on last edited by
              #6

              Yes you can use DAO sdk (you can find this in the last cd of VS 6.0) Or you can use ADO... In my Classes I use MFC, but here you can see any samples without MFC.... Best Regards Carlos Antollini. Sonork ID 100.10529 cantollini

              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