Sharrok G
Sharrok G

Reputation: 457

How to read ms access database file programmatically without installing ms office in c#

I have created an application which reads ms access database file (test.accdb).

When i tested the application in my pc it worked fine.

But when i tried to run my application in different pc without installing ms office 2007 it does not read my database.

later when i installed ms office 2007 it worked for me.

Some people dont have ms office may be some people dont know about ms office. If they dont have ms office they need to download it from website which is more than 500 mb. Everyone Cant download it because its very big.they could have limited internet.

I want to read the database file without installing ms office 2007 in client pc.

Is there any code from which we can read it.

There would be great appreciation if someone could help me.

Thanks In Advance

Upvotes: 0

Views: 1908

Answers (1)

Simon
Simon

Reputation: 6152

How do you connect to the database? You should be able to ODBC into it. You will need to install the ODBC driver on the client machines though.

Upvotes: 1

Related Questions