You still haven't been completely clear. Is this a VB.NET project from which you're trying to interact with an Access MDB file, or is it a project you've created in Access and you're writing VBA code? If it's a VB.NET project, are you trying to automate Access or are you trying to use ADO.NET? Where did you get the idea that this Database class should exist?