Microsoft KB Archive/328912

From BetaArchive Wiki
Knowledge Base


Microsoft Office XP primary interop assemblies (PIAs) are available for download

Article ID: 328912

Article Last Modified on 3/19/2007



APPLIES TO

  • Microsoft Access 2002 Standard Edition
  • Microsoft Excel 2002 Standard Edition
  • Microsoft Outlook 2002 Standard Edition
  • Microsoft FrontPage 2002 Standard Edition
  • Microsoft PowerPoint 2002 Standard Edition
  • Microsoft Word 2002 Standard Edition
  • Microsoft Publisher 2002 Standard Edition
  • Microsoft Visio 2002 Professional Edition



This article was previously published under Q328912

SUMMARY

Microsoft supplies several primary interop assemblies (PIAs) that contain the official description of the most commonly used Microsoft Office XP type libraries. These Microsoft Office XP PIAs make interoperability easier between managed code and Office XP COM type libraries.

MORE INFORMATION

Component Object Model (COM) interop assemblies allow unmanaged (COM) code to be called from managed (.NET) code by using the Microsoft .NET Framework and the common language runtime. COM interop assemblies allow managed applications to bind to unmanaged types at compile time, and then provide information to the common language runtime about how the unmanaged types must be marshaled at run time.

While any number of COM interop assemblies may exist for a particular type library, only one COM interop assembly is designated as the PIA. The PIA contains the official description of the unmanaged types that are defined by the publisher of those unmanaged types. Additionally, a PIA is always digitally signed by that publisher.

Generally, you must avoid the use of any Office XP COM interop assembly that is not provided as part of the Office XP PIAs. You must also avoid the use of any Office XP COM interop assembly that is generated by Microsoft Visual Studio .NET at design time. Any Office XP interop assembly that is not included in the Office XP PIAs download is considered unofficial.

To download the official PIAs available to Microsoft Office XP applications and associated technologies, visit the following Microsoft Developer Network (MSDN) Web site:

Office XP Primary Interop Assemblies (PIAs)
http://msdn2.microsoft.com/en-us/vstudio/aa718343.aspx


The following list represents the assemblies that are included in this Office XP PIA download:

  • adodb.dll
  • dao.dll
  • Microsoft.Office.Interop.Access.dll
  • Microsoft.Office.Interop.Excel.dll
  • Microsoft.Office.Interop.FrontPage.dll
  • Microsoft.Office.Interop.FrontPageEditor.dll
  • Microsoft.Office.Interop.Graph.dll
  • Microsoft.Office.Interop.Outlook.dll
  • Microsoft.Office.Interop.OutlookViewCtl.dll
  • Microsoft.Office.Interop.Owc.dll
  • Microsoft.Office.Interop.PowerPoint.dll
  • Microsoft.Office.Interop.Publisher.dll
  • Microsoft.Office.Interop.SmartTag.dll
  • Microsoft.Office.Interop.Visio.dll
  • Microsoft.Office.Interop.Word.dll
  • Microsoft.Vbe.Interop.dll
  • mscomctl.dll
  • msdatasrc.dll
  • office.dll
  • stdole.dll


REFERENCES

For additional information about building Office solutions by using Visual Studio .NET, click the following article number to view the article in the Microsoft Knowledge Base:

311452 Develop Microsoft Office solutions with Visual Studio .NET



Additional query words: excel word powerpoint access outlook frontpage

Keywords: kbautomation kbinfo kbofficewebchart kbofficewebpivot kbofficewebspread KB328912