Category "office-interop"

Disable Macros Automatically Microsoft Word Interop

I have a addin in word that on startup tries to use some macros (I presume that's what it's trying to do anyway), and pops up a window that looks similar to I

Microsoft.Office.Interop.Word in .NET 6.0 - Change builtin document property

Using the Microsoft.Office.Interop.Word.Document interface in C# you can get/set the document's built-in properties (Author, Title, Subject, Creation date,...)

"Command Failed" error on Open Document method on C#

I'm getting error like "Command Failed" on Microsoft.Office.Interop.Word Open Document method(on word.Documents.Open code line) when sending much more parameter

How to get EntryID of removed OutlookItem?

I need to synchronize Outlook contacts to another service. I can subscribe to create, change, and delete events as follows: Outlook.MAPIFolder folderCo

To filter mails from inbox which are sent to another recipient?

In Outlook Interop, using Outlook = Microsoft.Office.Interop.Outlook; To filter unread emails, I'm using the following code Outlook.Application oApp = new Out

How can I identifiy a specific appointment item in outlook

We're facing a problem where we need to identify a specific appointment in outlook, even if it is a recurring appointment. But since the GlobalAppointmentID is

c# read pst file and extract .msg file on web application

my project is create a web application which used mvc+api architecture I don't know how to realize this function on web application, which is read the pst file

Reading an .eml (outlook email) file using c#

I'm writing a service that cleans files by removing all malicious content. I'm using Interop Excel & Word api's like this: Excel var excelApp = new Mi

Reading an .eml (outlook email) file using c#

I'm writing a service that cleans files by removing all malicious content. I'm using Interop Excel & Word api's like this: Excel var excelApp = new Mi

Add Dropdown Validation to an entire Excel Column using OpenXML

In Excel, I am able to add validation rules to a range of cells and limit the accepted input to a list of values displayed in a dropdown. This is done using the

What are all the possible types in an Outlook folder?

I am trying to iterate through the Items collection of the Inbox folder of an account. What is the class of the Item if it is a NDR message?

How can I get task-specific properties from a MailItem

I've been having a little weekend project for myselff which involves getting all my ToDo tasks from Outlook, put them in a DataGridView and me being able to edi

How can I get task-specific properties from a MailItem

I've been having a little weekend project for myselff which involves getting all my ToDo tasks from Outlook, put them in a DataGridView and me being able to edi