473,386 Members | 1,668 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Finding the true binary structure and contents of MS-Access files

Hello world;

I have two questions with respect to MSAccess database files
(*.mdb and assorted helper files):

1) Is there documentation (presumably imperfect, achieved by
reverse engineering/hacking) that gives the true binary mode
structure of MSAccess files?

2) I assume (I have not yet tested) that Access overwrites
deleted records.

- If this is NOT true, are there tools that will permit me to
read deleted records within tables, even if all the
relational links have been broken?

- In general, are there tools that will permit me to know the
true binary offset of records within tables of the files
which comprise an MSAccess database?

These questions relate to forensic accounting.

Thanks for any assistance;

Cordially;

Friar Broccoli
Robert Keith Elias, Quebec, Canada Email: EliasRK (of) gmail * com
Best programmer's & all purpose text editor: http://www.semware.com
--------- I consider ALL arguments in support of my views --------

Nov 13 '05 #1
9 1906
"Friar Broccoli" wrote
1) Is there documentation (presumably
imperfect, achieved by reverse engineering/
hacking) that gives the true binary mode
structure of MSAccess files?


There's no comprehensive document that I know about. I have seen odds and
ends about the subject. But, there is a reason that Microsoft does not
publish that information -- there have been changes to the system tables
(and that implies changes to the code and structure) in every release...
sometimes even to the extent of adding or deleting system tables.

There clearly are people who have analyzed and understand the structure; one
is Peter Miller, of PK Solutions, whose business includes data recovery from
corrupted databases, which is dependent on his understanding of the
structure. I am quite certain he would not be interested in making his
research on this subject available.

Larry Linson
Microsoft Access MVP
Nov 13 '05 #2
The closest you'll come to a published layout of the structure is here:
http://mdbtools.sourceforge.net/install/c29.htm

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
"Friar Broccoli" <El*****@gmail.com> wrote in message
news:11**********************@g14g2000cwa.googlegr oups.com...
Hello world;

I have two questions with respect to MSAccess database files
(*.mdb and assorted helper files):

1) Is there documentation (presumably imperfect, achieved by
reverse engineering/hacking) that gives the true binary mode
structure of MSAccess files?

2) I assume (I have not yet tested) that Access overwrites
deleted records.

- If this is NOT true, are there tools that will permit me to
read deleted records within tables, even if all the
relational links have been broken?

- In general, are there tools that will permit me to know the
true binary offset of records within tables of the files
which comprise an MSAccess database?

These questions relate to forensic accounting.

Thanks for any assistance;

Cordially;

Friar Broccoli
Robert Keith Elias, Quebec, Canada Email: EliasRK (of) gmail * com
Best programmer's & all purpose text editor: http://www.semware.com
--------- I consider ALL arguments in support of my views --------

Nov 13 '05 #3

Stephen Lebans wrote:
The closest you'll come to a published layout of the structure is here:
http://mdbtools.sourceforge.net/install/c29.htm
God bless you! (If you're that sort of person)
A file named "HACKING" contains a complete description of the data
structures.
Who could ask for more?
You (and the fine folks who wrote it) saved me AT LEAST six months of
work.

For your info, I couldn't get thru to your page at:
http://www.lebans.com


Cordially;

Friar Broccoli
Robert Keith Elias, Quebec, Canada Email: EliasRK (of) gmail * com
Best programmer's & all purpose text editor: http://www.semware.com

--------- I consider ALL arguments in support of my views ---------

Nov 13 '05 #4
My ISP is located in Florida. My site access has been intermittent since the
Hurricane.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
"Friar Broccoli" <El*****@gmail.com> wrote in message
news:11*********************@g47g2000cwa.googlegro ups.com...

Stephen Lebans wrote:
The closest you'll come to a published layout of the structure is here:
http://mdbtools.sourceforge.net/install/c29.htm


God bless you! (If you're that sort of person)
A file named "HACKING" contains a complete description of the data
structures.
Who could ask for more?
You (and the fine folks who wrote it) saved me AT LEAST six months of
work.

For your info, I couldn't get thru to your page at:
http://www.lebans.com


Cordially;

Friar Broccoli
Robert Keith Elias, Quebec, Canada Email: EliasRK (of) gmail * com
Best programmer's & all purpose text editor: http://www.semware.com

--------- I consider ALL arguments in support of my views ---------

Nov 13 '05 #5
"Larry Linson" <bo*****@localhost.not> wrote in
news:uXt7f.3515$HW5.1274@trnddc04:
There clearly are people who have analyzed and understand the
structure; one is Peter Miller, of PK Solutions, whose business
includes data recovery from corrupted databases, which is
dependent on his understanding of the structure. I am quite
certain he would not be interested in making his research on this
subject available.


But he might be hirable for forensic accounting projects.

--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc
Nov 13 '05 #6
"David W. Fenton" <dX********@bway.net.invalid> wrote
But he (Peter Miller) might be hirable for
forensic accounting projects.


Yes, I suspect he might be.

Larry
Nov 13 '05 #7

Larry Linson wrote:
"David W. Fenton" <dX********@bway.net.invalid> wrote
> But he (Peter Miller) might be hirable for
> forensic accounting projects.


Yes, I suspect he might be.


If I found him a client, do you think he'd pay a
finder's fee commission?

Cordially;

Friar Broccoli
Robert Keith Elias, Quebec, Canada Email: EliasRK (of) gmail * com
Best programmer's & all purpose text editor: http://www.semware.com
--------- I consider ALL arguments in support of my views --------

Nov 13 '05 #8
"Friar Broccoli" <El*****@gmail.com> wrote in
news:11**********************@g44g2000cwa.googlegr oups.com:
Larry Linson wrote:
"David W. Fenton" <dX********@bway.net.invalid> wrote
> But he (Peter Miller) might be hirable for
> forensic accounting projects.


Yes, I suspect he might be.


If I found him a client, do you think he'd pay a
finder's fee commission?


No, he wouldn't.

I send him work all the time, and would never expect a finder's fee
from him. His fees are way too reasonable for there to be any room
for a cut for me (not that I'd want one anyway -- I benefit from the
good feeling the clients get from having their problems solved so
quickly, efficiently and successfully by Peter).

--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc
Nov 13 '05 #9

David W. Fenton wrote:
"Friar Broccoli" <El*****@gmail.com> wrote in
news:11**********************@g44g2000cwa.googlegr oups.com:
Larry Linson wrote:
"David W. Fenton" <dX********@bway.net.invalid> wrote

> But he (Peter Miller) might be hirable for
> forensic accounting projects.

Yes, I suspect he might be.


If I found him a client, do you think he'd pay a
finder's fee commission?


No, he wouldn't.

I send him work all the time, and would never expect a finder's fee
from him. His fees are way too reasonable for there to be any room
for a cut for me (not that I'd want one anyway -- I benefit from the
good feeling the clients get from having their problems solved so
quickly, efficiently and successfully by Peter).


Please accept my apologies. Sometimes I demonstrate a particularly
sick sense of humour. I checked your posting history, so I know for
certain that the implication of my question was false.

Cordially;

Friar Broccoli
Robert Keith Elias, Quebec, Canada Email: EliasRK (of) gmail * com
Best programmer's & all purpose text editor: http://www.semware.com

--------- I consider ALL arguments in support of my views ---------

Nov 13 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
by: yaipa | last post by:
What would be the common sense way of finding a binary pattern in a ..bin file, say some 200 bytes, and replacing it with an updated pattern of the same length at the same offset? Also, the...
3
by: Tanuki | last post by:
Hi All: I encounter a programming problem recently. I need to read a binary file. I need to translate the binary data into useful information. I have the format at hand, like 1st byte = ID,...
4
by: Jens Mittag | last post by:
Hi! In my code, I have an array of a structure, which I want to save to a binary file. When the array is just created, everything works fine, but when I change contents of the array, saving...
26
by: Michel Rouzic | last post by:
I have a binary file used to store the values of variables in order to use them again. I easily know whether the file exists or not, but the problem is, in case the program has been earlier...
2
by: Peter Steele | last post by:
I have a managed C++ project that contains a simple structure: struct { <multiple members> } mydata; I want to write the contents of this structure out to disk retaining the exactly binary...
5
by: Phil Kelly | last post by:
Hi I need to write the contents of a structure to a binary file - there is one string and 2 integers, but I can't seem to figure out how to write the data correctly. If I am simply writing...
6
by: Aston Martin | last post by:
Hi All, ********************** My Situation ********************** I am working on project that involves passing a structure to unmanaged code from .Net world (well using C#). Perhaps an example...
10
by: =?Utf-8?B?TmFuZCBLaXNob3JlIEd1cHRh?= | last post by:
I have a binary file created using C++ that contains an object of the structure: struct student { int roll_no; char name; char qualification; };
3
by: Andrew Lentvorski | last post by:
Basically, I'd like to use the ctypes module as a much more descriptive "struct" module. Is there a way to take a ctypes.Structure-based class and convert it to/from a binary string? Thanks,...
4
by: joseph.redimerio | last post by:
Hi there, I'm trying to save a vector data structure to a binary file, then read it back and see if all the contents are intact. So I'm trying to following code below : #include "stdafx.h"...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.