Results 1 to 3 of 3

Thread: how we can read database file in C language?

  1. #1
    Junior Member
    Join Date
    Jan 2008
    Answers
    8

    how we can read database file in C language?

    Hi,
    As we can read and wirte to text file, is it possible to read databse .mdb file through C programme? And how?

    kavita


  2. #2
    Contributing Member
    Join Date
    Dec 2007
    Answers
    46

    Re: how we can read database file in C language?

    .mdb is a microsoft access dB file format. To read this using C, you will need to do the following.

    The first thing to do is to find out if this file format is an "open" standard i.e. can one look at Microsoft Access documentation and figure out the format of this file.

    The second thing to do is to find out if the .mdb file is a binary or text file. I am not a Windows person, but if I were to guess, it would be a binary file. So, once the file format is known, one has to read the objects in the file format by opening the .mdb file and reading it in binary mode.

    Hope that helps.

    PS: If you the file format is an open standard, there might already be .mdb file browsers available on the net. So, if they are available, no need to roll your own


  3. #3
    Junior Member
    Join Date
    Jan 2008
    Answers
    8

    Re: how we can read database file in C language?

    Thanks!
    I have convert my .mdb file in txt, and can easily access that.

    Thank you


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact