Microsoft Office 2000/Visual Basic Programmer's Guide |
When you've debugged your COM add-in to your satisfaction, you can make it into a DLL. In Visual Basic, click Make projectname.dll on the File menu. The Make Project dialog box appears; note that you can enter a name for the DLL that's different from the suggested name. The process of making the DLL registers it on the local machine.
When you make the DLL in Visual Basic 6.0, the information in the add-in designer is used to add a subkey to the Windows registry, indicating which applications can host the add-in. The COM add-in then appears in the COM Add-ins dialog box in those applications for which it is registered.
When you make the DLL in Visual Basic 5.0, you must add a subkey to the registry to indicate that the DLL is an add-in so that it will appear in the COM Add-ins dialog box. The following section describes the information that you need to add to the registry.