Installing a COM Addin

If you copy the DLL file created by a COM add-in to the default Add-ins folder (usually C:\Documents and SettingsWser Name\Application Data\Microsoft\AddIns), its button(s) should automatically appear in the Toolbar Commands group of the Add-Ins tab of the Ribbon (as shown in Figure 13.8); at least if you are running Windows XP

then select it then select it

FIGURE 13.8

A COM add-in button on the Add-Ins tab of the Ribbon in Access 2007.

FIGURE 13.8

A COM add-in button on the Add-Ins tab of the Ribbon in Access 2007.

If you don't see your COM add-in's button(s) in an Access database after copying the DLL file to the Add-ins folder, you can install the add-in from the COM Add-Ins dialog, which can be opened from the Add-ins page of the Access Options dialog. To install a COM add-in manually, do the following:

1. For Windows Vista only, run Access as an administrator by right-clicking the MSACCESS.EXE file in the Office 12 subfolder under the Microsoft Office folder, and selecting "Run as administrator" from its right-click context menu.

2. In an Access database, click the Office button, then click the Access Options button at the lower right, as shown in Figure 13.9.

FIGURE 13.9

Opening the Access Options dialog.

1 Writing Copy\...\RIes and Folders,accdb

j) Open.,,

2 Writing CopyV.AExcel Exportacedb

3 Writing CopyV.ANorthwind.accdb

|LJj Save

4 Writing Capy\Office Book\...\Extras.mda

5 \,„\5ynchronizing Contacts,accdb...

6 CADocuments and SettingsY.AExtras.mda Z Writing CapjA,.AExtras 2007,accda

ifj Manage >

8 Writing Copyv.AExtras 2007,accdb

9 EiV.AExtras.aceda

g jtaL.

LiJ Print... ► nsT -

_| Close Database

J Access Optjoos IX E*rt Access

J Access Optjoos IX E*rt Access

3. Select the Add-ins page on the Access Options dialog to see your installed add-ins (you'll see both Access and COM add-ins listed there, plus one or more add-ins that are installed with Office). If your add-in is listed in the "Inactive Application Add-Ins" group, you will need to install it in the COM Add-ins dialog.

4. To install or uninstall COM add-ins, select COM Add-ins in the drop-down list at the bottom of the screen, as shown in Figure 13.10.

0 0

Post a comment