Microsoft KB Archive/230225

= How to create a COM add-in in Outlook 2000 =

Article ID: 230225

Article Last Modified on 8/29/2007

-

APPLIES TO


 * Microsoft Outlook 2000 Standard Edition

-



This article was previously published under Q230225



SUMMARY
This article provides an overview of how to create a COM add-in in Outlook 2000.



Overview
COM add-ins are a new feature in Microsoft Office 2000 and are supported by all Office programs, including Outlook. Key benefits of COM add-ins include:
 * COM add-ins run in-process with the host program, so custom code generally runs faster than code implemented in Visual Basic for Applications.
 * The basic COM add-in architecture is consistent across all Office programs, whereas in previous versions of Office, each program had its own add-in architecture.
 * You can create one COM add-in to use with more than one Office program.

What You Need to Create a COM Add-in
In addition to Outlook 2000, you need one of the following development environments to create a COM add-in for Office or Outlook:
 * Visual Basic 5.0 or later (Visual Basic 6.0 is preferred)
 * Microsoft Office Developer, which includes the ability to compile a Visual Basic for Applications project into a Dynamic Link Library (DLL)
 * Any other COM-compliant development environment, such as Microsoft C++ or Microsoft J++

Resources and Examples
There are many resources and examples about how to implement an Office or Outlook COM add-in.

Outlook-Specific Information
COM Add-ins Part I: Introducing an Office 2000 Solution for the Entire (Office) Family:

http://msdn2.microsoft.com/en-us/library/Aa155767(office.10).aspx

COM Add-ins Part II: Building a COM Add-in for Outlook 2000:

http://msdn2.microsoft.com/en-us/library/Aa140126(office.10).aspx

Sample chapter from "Professional Outlook 2000 Programming:"

http://www.cdolive.com/prool2k.htm

COM Add-in Information from the Slipstick Systems Web site:

http://www.slipstick.com/dev/comaddins.htm

General COM Add-in Information
Microsoft Office 2000/Visual Basic Programmer's Guide

Chapter 11: Add-ins, Templates, Wizards, and Libraries:

http://msdn2.microsoft.com/en-us/library/Aa189019(office.10).aspx

Developing COM Add-Ins for Microsoft Office 2000:

msdn.microsoft.com/library/en-us/dno2kta/html/comaddins.asp

Creating a Microsoft Office 2000 COM Add-in:

http://msdn2.microsoft.com/en-us/library/Aa155761(office.10).aspx

Microsoft Knowledge Base Articles

238228 How To Build an Office 2000 COM Add-In in Visual Basic

230689 SAMPLE: Comaddin.exe Office 2000 COM Add-In Written in Visual C++

254006 INFO: Access Data Retrieval Sample Add-In Available for Download

232680 FP2000: How to Work With COM Add-ins in FrontPage 2000

Important Things to Know About Outlook
The following Microsoft Knowledge Base articles provide information about the key things that you should be aware of when you develop a COM add-in for Outlook:

208332 OL2000: You Cannot Fully Quit Outlook When You Use a COM Add-in

208316 OL2000: All COM Add-in Run-Time Errors Must Be Trapped

230504 OL2000: CommandBars Not Available from Application Object

