Using the Add-in ....................................................................................................
To test the add-in, open any Access 2007 database (or create a new database). As in Figure 16.32,
you should see a new Visual Studio Add-in tab on the Ribbon with a group called “Create Access
Objects” containing three buttons. There is no need to manually add the Ribbon, or even to close
and reopen the database; the Ribbon appears immediately (a refreshing change from the struggle
you have to go through in order to get a custom Ribbon to appear from an Access add-in).
FIGURE 16.32
A new tab and group created by the add-in.
Clicking the “Create New Table” button creates a new table with several fields of different data
types, the “Create New Form” button creates a new form with the new table as its record source
and several controls of different types, and the “Create New Report” button creates a new report,
also with the new table as its record source and several controls of different types. Figure 16.33
shows the new table in design view.
FIGURE 16.33
A new table created by the add-in.
Part III Adding More Functionality to Office