Geeks Talk

Prepare for your Next Interview


Welcome to the Geeks Talk forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

how we can read database file in C language?

This is a discussion on how we can read database file in C language? within the C and C++ forums, part of the Software Development category; Hi, As we can read and wirte to text file, is it possible to read databse .mdb file through C programme? And how? kavita...

Go Back   Geeks Talk > Software Development > C and C++
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read
  #1 (permalink)  
Old 01-09-2008
Junior Member
 
Join Date: Jan 2008
Location: India
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
kavi12_nc is on a distinguished road
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
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 01-12-2008
Contributing Member
 
Join Date: Dec 2007
Posts: 48
Thanks: 1
Thanked 8 Times in 7 Posts
sk_seeker is on a distinguished road
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
Reply With Quote
  #3 (permalink)  
Old 01-16-2008
Junior Member
 
Join Date: Jan 2008
Location: India
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
kavi12_nc is on a distinguished road
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
Reply With Quote
Reply

  Geeks Talk > Software Development > C and C++

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Detailed differance in C language and C++ language? prachidamle30 C and C++ 6 03-13-2008 09:42 AM
Read a file by Servlet Geek_Guest JSP 1 01-24-2008 05:18 AM
Migrate a .dat file to SQL database anilkumarnani SQL 1 09-25-2007 09:52 AM
Save Excel file using JDBC into a database supari Java 1 08-30-2007 08:56 AM
How to Unzip the file when there is only Read Permission Geek_Guest Unix/Linux 1 08-03-2007 02:12 PM


All times are GMT -4. The time now is 04:07 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2009 GeekInterview.com. All Rights Reserved