Access™ 2007 VBA Programmer's Reference
by Teresa Hennig, Rob Cooper, Geoffrey Griffith, Armen Stein
14.6. Distributing Applications That Reference Type Libraries and Custom DLLs
It is a bit trickier to deploy applications if they contain references to some type libraries and DLLs. You can't always just drop a database file onto a disk and expect it to work because the target system may not already contain the required type libraries and DLLs.
To ensure that the database functions correctly on every platform, you may have to include additional libraries or DLLs in an installation package you create using the Package and Deployment Wizard that comes with the Access Developer Extensions (ADE).
The Package and Deployment Wizard scans the application for external references and includes the referenced files in the setup package it creates. When run on the target system, the setup program copies all the required files onto the hard disk, and usually registers the type libraries and DLLs. For more information about the ADE, refer to Chapter 21.
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