Skip to main content
Filter by
Sorted by
Tagged with
5 votes
1 answer
106 views

We have some legacy code that late binds to Microsoft.Office.Interop.Word to do various things with documents. This code has worked fine for years. The Solution is written in VB.NET and consists of ...
DinahMoeHumm's user avatar
1 vote
1 answer
156 views

I want to drag / drop an e-mail from outlook in my c# / .net 4.8 application. This works with attachments since the file stream is directly sent but not with e-mails itsel. I expected them to coe as ....
Marc's user avatar
  • 2,745
0 votes
0 answers
55 views

I am using C# to convert a Word .doc to PDF, and while doing so, all other documents referenced should also be changed from .doc to PDF, including all links within the documents (recursively). The ...
SinisterMJ's user avatar
  • 3,519
0 votes
0 answers
74 views

I am trying to get SQL Server Migration Assistant (SSMA) to Migrate an Access Database (.accdb) to Azure SQL on Windows 11, 64bit. When i attempt to add the Access database to the project, I get the ...
Brian H's user avatar
0 votes
0 answers
50 views

I have this code in VB .NET and VSTO that accesses a MS Project file and exports the information from the RESOURCE USAGE view to Excel, but when taking the information about the work distributed over ...
Jhorbam's user avatar
  • 23
0 votes
2 answers
45 views

When the birthday or anniversary for a contact item is set an appointment item is created automatically. If the contact is removed those appointments are not. This article Find Outlook AppointmentItem ...
RudiBoy's user avatar
  • 90
0 votes
2 answers
141 views

Creating PowerPoint presentations in C# Visual Studio, I realized that my WinForm timer hangs; I can't even move my Application around the screen. Is there a way to create my PowerPoint in the ...
Joshua Tristancho's user avatar
0 votes
1 answer
44 views

So I have an add in that monitors the sent items folder and uploads emails to an azure storage when a new item hits it, if it meets certain criteria. my issue is that it only works on the default ...
Zorbacles's user avatar
0 votes
1 answer
203 views

What I have is an Excel document created by ClosedXML which I can write to a perfectly valid XLSX file. However, what I am looking for is to show the document in Excel without writing it to a disk ...
Roland Kwee's user avatar
  • 5,302
1 vote
1 answer
97 views

I'm trying to create a word doc Footer programmatically in vb.net that has 3 lines or more with 3 different font colors and font styles. I can only seem to get the first color and style to ‘stick’ the ...
Tommycod's user avatar
-1 votes
1 answer
117 views

In my winforms .NET Core project, i'd like to create a mail in Outlook. Dim outlookApp As Outlook.Application = New Outlook.Application() Dim mail As Outlook.MailItem = CType(outlookApp.CreateItem(...
8oris's user avatar
  • 475
0 votes
1 answer
177 views

I've written a C# program that uses Excel Interop libraries to open a file and execute a macro. I've been using this program for quite some time on a server running Windows 2016 and Excel 2016. Now I'...
vittochan's user avatar
  • 685
1 vote
1 answer
51 views

I'm building a desktop extensions for iManage work desktop in .NET Framework 4.8 that should be able to set a particular value in the footer of Word, Excel and Powerpoint documents. I've managed to ...
Fompe's user avatar
  • 11
0 votes
1 answer
862 views

I am attempting to upgrade dependencies like Microsoft.Office.Interop.Excel and migrate my application from .NET Framework to .NET Core. However, it seems that this upgrade involves extensive code ...
Hiten Samalia's user avatar
0 votes
0 answers
42 views

Let's say I want to convert a PowerPoint file to a PDF file using Office Interop: using Microsoft.Office.Core; using Microsoft.Office.Interop.PowerPoint; Application app = null; try { app = new ...
exaiwitmx's user avatar
  • 119
1 vote
0 answers
406 views

I have .net framework 4.7.2 project which is using that uses Microsoft.Office.Interop.Excel nuget which is giving error in Office 2021 version. Unable to cast COM object of type 'Microsoft.Office....
Test's user avatar
  • 11
0 votes
0 answers
35 views

I use interop.excel library. I want to set this string to the formula of some excel range: =HA(VAGY(C2="83V";C2="8U";C2="9V");"nem";"igen") English: =...
josh11's user avatar
  • 21
1 vote
0 answers
90 views

We are working in a VSTO Addin Excel project, with many dependencies references. We also have an Setup Project for create installer for this project. When we deploy the project using the installer the ...
DCascu's user avatar
  • 21
1 vote
0 answers
106 views

Im currently developing a VSTO Word AddIn in C#. Properties that come from SharePoint (ContentTypeProperties) are stored in a customXmlPart with this namespace Uri: "http://schemas.microsoft.com/...
Eliah Thommen's user avatar
0 votes
1 answer
149 views

I have C# batch process Opening, Calculating and Closing many Excel workbooks. After a varying number of iterations, when I try to open the next workbook, I get the below error. Retrieving the COM ...
golfalot's user avatar
  • 1,354
1 vote
1 answer
106 views

I want to change the text af a paragraph. Thought it is totally simple - until there was a table. Actually it is just one line of code: activeDocument.Paragraphs[2].Range.Text = "abcd" + &...
Dgo's user avatar
  • 55
0 votes
0 answers
63 views

How can I get the cells of a column (only vertical cells) in a Word table? Note: I am not interessted in all the cells of a column, there for I can't seem to use .Column.Cells because I would like to ...
Rand Random's user avatar
  • 7,477
2 votes
0 answers
153 views

I am developing a COM Add-In for OneNote for Microsoft Office 365 MSO using this project(VanillaAddIn) as a template. However, when I build and install the project, I get the following error when I ...
Nai Jie's user avatar
  • 21
0 votes
1 answer
23 views

I'm trying to create a document word from scratch with a string, a table and a graph using interop c# word. Now, I've this code : object start = 0; object end = 0; MSWord.Range ...
Florence's user avatar
1 vote
0 answers
79 views

I have to late bind to excel for a project because the project will be used in an environment with users utilizing several different versions of Office. In VB projects targeting .Net Framework (say, 4....
ApeMuhnkey's user avatar

1
2 3 4 5
73