Access™ 2007 VBA Programmer's Reference
by Teresa Hennig, Rob Cooper, Geoffrey Griffith, Armen Stein
B.1. Types of References
You can add references to many types of libraries from your Access projects. Library types include the following: type or object libraries (OLB, TLB, and DLL), ActiveX controls (OCX) and references to other Access databases (ACCDB, ACCDE, MDB, and MDE), Access add-ins (ACCDA and MDA), and Access projects (ADP and ADE).
An object library or type library generally provides functionality for access to other applications or adds functionality to use in your Visual Basic code. For example, Microsoft Office exposes its Component Object Model (COM) through the Microsoft Office Object Library DLLs. These include the Microsoft Access 12.0 Object Library, Microsoft Excel 12.0 Object Library, and Microsoft Word 12.0 Object Library, to name just a few.
ActiveX controls usually include controls that you can add to your user interface. They can display data on forms or provide an access method to data through a form with little or no extra programming. For example, DBI Grid Tools 2.0's ctGrid control displays a grid of data, a two-dimensional table that looks similar to Access's datasheet view. It has properties to indicate which data to display, adjust colors of cells, and add icons and much more, all without programming. The control also enables more functionality through Visual Basic when a reference is made to the Grid Tools DLL.
Access add-ins afford enhanced functionality to Access as a whole. For example, the New Form Wizard provided with Access is an add-in. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access