Vb.net – How to connect to an Access 2007 (accdb) file in Visual Studio 2008


I'm in a college class using the Microsoft visual studio 2008 for visual basic and i have a project where i'm supposed to connect a database but it can't recognize the database file as a database. I followed the book exactly so i don't know what the problem is.

Best Answer

You may need to install the Office 2007 Data Connectivity Components.

(See also: this MSDN forum post)