Microsoft Office 2000/Visual Basic Programmer's Guide |
To open an add-in designer, double-click it in the Project Explorer, or right-click it and then click View Object on the shortcut menu.
To create your add-in, you first need to fill out the options on the General tab of the add-in designer. The following table explains each option.
Option | Description |
Add-in Display Name | The name that will appear in the COM Add-ins dialog box in an Office 2000 application. The name you supply should be descriptive to the user. If the name is to come from a resource file specified in the Satellite DLL Name box on the Advanced tab, it must begin with a number sign (#), followed by an integer specifying a resource ID within the file. |
Add-in Description | Descriptive text for a COM add-in, available from VBA in the Description property of the COMAddIn object. If the description is to come from a resource file specified in the Satellite DLL Name box on the Advanced tab, it must begin with a number sign (#), followed by an integer specifying a resource ID within the file. |
Application | The application in which the add-in will run. This list displays applications that support COM add-ins. |
Application Version | The version of the application in which the add-in will run. |
Initial Load Behavior | The way that the add-in will load in the Office 2000 application. The list of possible settings comes from the registry. For more information, see the following section, "Specifying Load Behavior." |
Add-in is command-line safe (does not put up any UI) |
Does not apply to COM add-ins running in Office 2000 applications. |
The Advanced tab of the add-in designer allows you to specify a file containing localized resource information for the add-in and to specify additional registry data. The following table describes the options available on the Advanced tab.
Option | Description |
Satellite DLL Name | The name of a file containing localized (translated) resources for an add-in; the file must be located in the same directory as the add-in's registered DLL. |
Registry Key for Additional Add-in Data | The registry subkey to which additional data is to be written. |
Add-in Specific Data | The names and values to be stored in the registry subkey. Only String and DWORD type values are permitted. |