X hits on this document





19 / 47

Microsoft Office 2003 Editions: Overview of Developer TechnologiesSeptember 2004

to manipulate the XML payloads. You can then integrate the XML from Web services into the custom-defined schema capabilities of Office programs, and vice-versa.

For integrating Word and Excel document solutions with Web services, Visual Studio Tools for Office is a natural development tool. In addition, the Information Bridge Framework helps you create relationships between multiple business systems using Web services and associated metadata which you can then incorporate into Office solutions.

If you need to access Web services from VBA (or Visual Basic 6), you can download the free Microsoft Office 2003 Editions Web Services Toolkit which helps create the code necessary to interface with basic Web services. Note that this toolkit is provided on an "as-is" basis and support is only available through a peer-to-peer newsgroup. Other developers could interoperate with Web services in any environment by manually interpreting the SOAP messages.

Suggested Next Steps

Learn how to access Web services in Excel using Visual Studio Tools for Office version 2003 : http://msdn.microsoft.com/office/understanding/vsto/articles/default.aspx?pull=/library/en-us/odc_vsto2003_ta/html/odc_vstexlweb.asp

Primary Interop Assemblies

Developers increasingly seek to build solutions using code that runs on the .NET Framework, called managed code, because of increased security, robustness and productivity. In order for managed code to interoperate with COM interfaces, such as the Office object models, developers need to use a managed assembly that describes the COM interface types. This type of managed assembly is called a Primary Interop Assembly, allows managed applications to bind to the COM types at compile time and provides a run time interface for the .NET Framework.

Microsoft includes Primary Interop Assemblies with Office 2003 Editions to make it easier for developers to write code using Visual Studio .NET to automate Office applications. Primary Interop Assemblies are also available for the smart tag and ISmartDocument interfaces.

Primary Interop Assemblies Benefits

Primary Interop Assemblies (PIAs) allow you to build solutions for Office 2003 Editions using managed code. This means you can take advantage of the benefits of Visual Studio .NET and the .NET Framework when developing and deploying Office solutions.

Primary Interop Assemblies Technology

The Office 2003 PIAs are available when you install the Office 2003 Editions as optional items called .NET Programmability Support. You can choose to install .NET Programmability Support for Access, PowerPoint, Outlook, Publisher, Word, and Excel. Under Office Tools, you can also install the Smart Tag .NET Programmability Support to add the PIAs for smart tags and smart documents and Microsoft Forms 2.0 .NET Programmability Support to install the PIAs for forms and graphs. We recommend you install all of them so that you have the appropriate interface for any custom managed Office solution you choose to create.

Both Visual Studio Tools for Office version 2003 and "Visual Studio Tools for Office version 2005 (Beta)" require that you install these options for developing managed code solutions for Word and Excel.

Suggested Next Steps

Understand more about PIAs: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/whypriinterop.asp

© 2006 Microsoft Corporation. All rights reserved. Page 19 By using or providing feedback on these materials, you agree to the attached license agreement.

To comment on this paper or request more documentation on these developer features, contact us at O12Devdx@microsoft.com. We look forward to hearing from you.

Document info
Document views85
Page views85
Page last viewedSun Oct 23 02:12:13 UTC 2016