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. opening an .mdb file

opening an .mdb file

Scheduled Pinned Locked Moved C / C++ / MFC
tutorial
6 Posts 4 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.
  • A Offline
    A Offline
    Anandi VC
    wrote on last edited by
    #1

    please let me know how to open an .mdb (MS Access) file from a VC6.0 application . thanks in advance . aanandi

    D D H 3 Replies Last reply
    0
    • A Anandi VC

      please let me know how to open an .mdb (MS Access) file from a VC6.0 application . thanks in advance . aanandi

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      Use ShellExecute(..., "open", "file.mdb", ...).

      "Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman

      "To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne

      A 1 Reply Last reply
      0
      • A Anandi VC

        please let me know how to open an .mdb (MS Access) file from a VC6.0 application . thanks in advance . aanandi

        D Offline
        D Offline
        Demian Panello
        wrote on last edited by
        #3

        Do you want to connect to an Access database? Check in MSDN the following classes: CDatabase CRecordset or CDaoDatabase CDaoRecordset

        Demian. "I have always wished that my computer would be as easy to use as my telephone. My wish has come true. I no longer know how to use my telephone." -Bjarne Stroustrup, computer science professor, designer of C++ programming language (1950- )

        A 1 Reply Last reply
        0
        • D Demian Panello

          Do you want to connect to an Access database? Check in MSDN the following classes: CDatabase CRecordset or CDaoDatabase CDaoRecordset

          Demian. "I have always wished that my computer would be as easy to use as my telephone. My wish has come true. I no longer know how to use my telephone." -Bjarne Stroustrup, computer science professor, designer of C++ programming language (1950- )

          A Offline
          A Offline
          Anandi VC
          wrote on last edited by
          #4

          i just want to open an already created .mdb file from an application in VC6 . anyways thank you .

          1 Reply Last reply
          0
          • D David Crow

            Use ShellExecute(..., "open", "file.mdb", ...).

            "Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman

            "To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne

            A Offline
            A Offline
            Anandi VC
            wrote on last edited by
            #5

            Thank u DavidCrow

            1 Reply Last reply
            0
            • A Anandi VC

              please let me know how to open an .mdb (MS Access) file from a VC6.0 application . thanks in advance . aanandi

              H Offline
              H Offline
              Hamid Taebi
              wrote on last edited by
              #6

              If you want to read access files of your program did you see Database[^]?

              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