Top "Office-interop" questions

Office Interop is the layer using the COM Interop that allows .NET or C# to communicate with standard COM objects and libraries.

Copy text from word file to a new word

I am reading the text from word file and replace some text from the readed text. var wordApp = new Microsoft.…

c# .net .net-4.0 ms-word office-interop
Can you install Office 2007 PIA's without office

First of all, my question is not quite the same as Is Office 2007 PIA deployment possible without Office 2007? I am …

.net ms-office office-interop office-2007 office-pia
How can I quickly up-cast object[,] into double[,]?

I using Microsoft.Office.Interop.Excel I get returned a 2D array of type object[,] which contains double for elements. …

c# vb.net office-interop
Get Unique Id From MailItem (Microsoft.Office.Interop.Outlook)?

I'm creating an application that is reading emails received in outlook. The reading process is something like this: using Outlook = …

c# .net outlook office-interop
Problems with office automation in asp.net. I can use alternatives such as open-office, if I knew how

I have a ASP.NET 2.0 web application that should upload a ppt file and then extract its slides to images. …

c# asp.net ms-office office-interop openoffice.org
DCOM Config settings for Microsoft Interop Word Automation

I am using Microsoft Office Interop Word to generate documents using C#. In order for the document generation to work, …

c# .net office-interop com-interop dcom
How do I make an Office 2013/2016 application run in separate process on Microsoft Windows?

I am developing a Excel plugin. It works all right for Excel versions before 2013. But a lot of features is …

excel vba vsto office-interop office-2013
Trying to do Office Automation with Excel 2007, but keeps using Excel 2003

Environment: Windows XP machine Both Excel 2007 and Excel 2003 installed (in that order, not chronologically). C# 3.5 Problem: When I use the …

c# excel com office-interop pia
Excel automation: PDF export causes "Printer setup" popup

I am developing an application for automatic Excel to PDF generation. Every now and then (and without any apparent cause, …

excel pdf office-interop office-2007
Proper disposal of COM interop objects in C# particularly MS Office applications

I am developing an application that relies heavily on multiple Microsoft Office products including Access, Excel, Word, PowerPoint and Outlook …

c# .net garbage-collection ms-office office-interop