Questions tagged [office-pia]

Microsoft Office Primary Interop Assemblies (PIA) allow code from a Microsoft Office project to interact with an MS Office application's COM-based object model.

57 questions
2
votes
1 answer

Get content controls in word header / footer with office interop assemblies

I'm writing an application which reads out content controls from word documents. It works fine, but I'm not able to get the controls in the header and footer of the document. Here's my code: public static List
Philipp Eger
  • 2,235
  • 4
  • 23
  • 34
2
votes
1 answer

How do register PIA12 (Office 2007) assemblies with visual studio 2013

I installed Office 2013 and VS2013 on Windows 8.1 - when I now open old Projects which reference the version 12 PIAs (for Office 2007) these are missing in the references since VS2013 does only install Version 14 and 15 of the PIAs. Since I want to…
Sam
  • 28,421
  • 49
  • 167
  • 247
2
votes
1 answer

Office 2007 PIA - Embed non-text files

I am working with the Office 2007 PIAs and am trying to generate a large document from x number of user selected documents. Most of these documents will likely be word docs, but we want to support any file type. Text documents work fine when…
yourbuddypal
  • 543
  • 6
  • 18
2
votes
1 answer

Adding Office 2010 Interop (PIA) in Visual Studio 2012

I am writing an application in VB.NET that will send emails using outlook. My problem is that I need the Office 2010 PIA to do this. The following are the steps I have already tried (I am using Visual Studio Express 2012): Restarted the…
drew.cuthbert
  • 1,005
  • 1
  • 9
  • 21
2
votes
1 answer

OPENXML SDK VS Microsoft Platform Interop Assemblies

I have a requirement where in I need to scan Office documents and remove any metadata found embedded in the file/document. I am new to developing applications on Microsoft Office and found that I could either use the Platform Interop Assemblies or…
user1421803
  • 31
  • 1
  • 2
1
vote
1 answer

Microsoft.Office.Interop.PowerPoint + PIA

I have used Microsoft.Office.Interop.PowerPoint in my desktop application. I want to run its EXE on another machine. Does that machine required MS office to be installed or simply by installing PIA (Primary Interop Assembly) distributable on that…
1
vote
0 answers

Visual Studio 2010 and Office 2003 PIA: is that possible?

I'm about to start porting a bunch of .NET apps to Visual Studio 2010 as some .NET 4 features are required in the apps. The resulting apps need to be able to call Office 2003, Office 2007 and Office 2010 interop assemblies. What is a good way to…
1
vote
1 answer

Primary Interop Assemblies (PIA) for Office 2007 - 32/64bit?

Are the Primary Interop Assemblies (PIA) for Office 2007 compatible with both 32 bit and 64 bit versions of Windows? Are they compiled with a target of any processor? Also, is there a way I can verify this, say by using a tool like Reflector?
ghostJago
  • 3,381
  • 5
  • 36
  • 51
1
vote
2 answers

Can I use Microsoft Office 2010: Primary Interop Assemblies to convert word,excel to PDF

Can I use Microsoft Office 2010: Primary Interop Assemblies to convert word, excel to PDF? How easy is it? Any C# example?
user686732
  • 97
  • 1
  • 3
1
vote
1 answer

how to insert circle shapes into a word document

I don't know how to insert a circle shape into my document. I'm using iterop.word intro c# and I need to insert 4 small circles into a clear document.
David Lopez
  • 141
  • 1
  • 3
  • 4
1
vote
1 answer

Using Office 2007 PIAs with Excel 2002 (Primary Interop Assembly)

Is this possible? My app references Excel 2007 Primary Interop Assemblies. Can I install these on a PC which has only Excel 2002 (XP) installed? Or do I need the Office XP PIAs? In that case, do I need to modify my program to reference the old PIAs?
Laurent
  • 5,953
  • 14
  • 43
  • 59
1
vote
1 answer

Office 2007 PIA registry entry installed indication

I must install Office 2007 PIA as a prerequisite along with my Office 2007 add-in. The bootstrapper I am using requires me to specify a registry entry to be checked if prerequisite is installed or not. Normally, various packages set Installed DWORD…
wpfwannabe
  • 14,587
  • 16
  • 78
  • 129
1
vote
1 answer

Multiple versions of Office Primary Interop Assemblies in .NET project

I'm using Office Primary Interop Assemblies to control PowerPoint from my WPF app. Currently I'm using PIA v14 in my project and it works with both Office 2010 and Office 2013 without problems. But I need to add support also for Office 2007 (when I…
Dominik Palo
  • 2,873
  • 4
  • 29
  • 52
1
vote
2 answers

PIA Outlook Office library

I am having simple question. I installed PIA Office 15.0 for outllook and gave reference in my winform .net application. I just wanted to know if I deploy this application on machine which is having lower version of outlook(e.g. outlook 2007/2010)…
Rahul K
  • 11
  • 3
1
vote
1 answer

Word Interop compile time error

I am getting the following error when referencing the assembly Microsoft.Office.Interop.Word in my asp.net application. The type 'Microsoft.Office.Interop.Word.ApplicationClass' exists in both…
user114385
  • 382
  • 4
  • 11