Creating Addins

As mentioned earlier, VSTO 2005 SE supports the creation of add-ins for the six most popular applications in the 2007 Microsoft Office system and add-ins for five Office 2003 applications. If you're wondering why you can't create an add-in for InfoPath 2003 with VSTO 2005 SE, it is simply because InfoPath 2003 does not support add-ins of any type. The ability to create add-ins for the remaining applications is great news if you have found the document-level customizations of VSTO restrictive. Keep in mind, however, that the VSTO 2005 SE add-ins are not designed to work with document-level customization; the add-ins are loaded into a separate application domain and are isolated from code running in other application domains (such as document-level customizations). This isolation is similar to the way each document-level solution is loaded into a separate application domain, and thus it is difficult to implement communication between solutions.

Add-ins enable you to provide functionality for your solution that is available at the application level. For applications that have the concept of documents, such as Word, Excel, and PowerPoint, this means that the customization is available to any document, workbook, or slide presentation that you open.

0 0

Post a comment