Reading Access Structure...

  • Thread starter Thread starter Evan Camilleri
  • Start date Start date
E

Evan Camilleri

Is there a way (besides opening the database using Access) that I can read
the structure (not just tables, even forms etc) of a database file? I would
like to read it from a .NET project.

Evan
 
All main objects (Name & Type) can be queried using MSysObjects
Relationships using MSysRelationShips
Import/Export specs using MSysIMEXSpecs & MSysIMEXColumns
Queries definition using MSysObjects & MSysQueries

Pieter
 
windows has shipped with the "JET" engine for a very long time.

So, you can write a windows script, or use .net and ado to open up a mdb
file. You don't need to install ms-access at all....

You thus read the data with great ease.

The forms? No, I don't think you can read them unless you want to decipher
them. No more so then ms-access is going to be able to open and read forms
built in .net....
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top