Questions tagged [comaddin]

Represents a COM add-in in the Microsoft Office host application.

Represents a COM add-in in the Microsoft Office host application.

87 questions
2
votes
0 answers

Error in Invalidating ribbon using Invalidate & Invalidate Control - MS Word 2007 & .Net-4.5.1

I am on .Net version 4.5.1 . I am creating a MS Word 2007 ribbon control. It's a COM dll. While trying to Invalidate the ribbon or any of the control in there, i am getting the following error related to…
2
votes
1 answer

MS Access trying to set ADODB recordset to return from com object

I have written a Shared Add In using VS 2008 which contains a public method that returns an ADO Recordset. In MS Access I would like to set a ADO Recordset to the return of the function call. The function call executes fine when calling the COM…
1
vote
1 answer

How to override 'Save As' event in Excel XP COM add-in

I am working on a C# COM add-in specifically targeting Excel XP. I need to display my own 'Save As' dialog rather than the normal Excel dialog. I tried handling the applicationObject.WorkbookBeforeSave and ActiveWorkbook.BeforeSave events and…
AndrewS
  • 3,450
  • 1
  • 21
  • 26
1
vote
0 answers

Moving ClickOnce VSTO To New Server

For a long time, I've published a VSTO to a certain server. Let's call it ServerA. So the publishing folder in Visual Studio is set to \ServerA\MyTool\install. I now need to move the install to ServerB, but I don't want users to have to do…
Dan
  • 89
  • 6
1
vote
0 answers

Office COM Add-in. applicationObject.CurrentDb() preventing Close Access application

I am working on a Office COM Add-In to launch the Add-in application from MS Access. Add-in loading fine. Now I need current db name at the plug-in class, so I use applicationObject.CurrentDb() to load db object and get db name from the…
karthik
  • 105
  • 2
  • 15
1
vote
0 answers

Powerpoint/ExecuteMSO Command in C# not immediately executing. The lines of code following the command are causing mess because of this

following is the code I am using to cut - paste an existing column in a powerpoint table into a newly added column. After pasting I am doing out some operations like merging cells in the column pasted. The only thing I found out is the column was…
1
vote
0 answers

Excel AddIn Issue on Workbooks.Open() being stuck on Excel Home Screen

Previously this code for opening and activating(bringing workbook to front) has worked for other builds of Microsoft office, however Microsoft's latest build(16.0.11126.20234) seemed to create a problem with opening an existing excel…
AaronDev
  • 11
  • 2
1
vote
1 answer

How to release cursor after inserting text into Word Document using C#?

I'm creating a MS Word VSTO addin (Custom Task Pane) that inserts some text into a Word Document on the click of a button. However, I find that after the button is clicked and the text is inserted into the Document, the cursor doesn't automatically…
razor_ray
  • 55
  • 1
  • 11
1
vote
0 answers

Loading Reuters COM addin automatically with createoleobject into excel 2013

I am trying to load the Thomson Reuters com addin in a delphi application via the use of createoleobject and having trouble finding the com addins. for i := 1 to Application.comaddins.Count do begin if (Application.comaddins[i].Name =…
user2356169
  • 73
  • 2
  • 7
1
vote
1 answer

Signing office COM Add-in

I've developed an extension based on NetOffice. My office configuration requires applications to be signed by Trusted Publishers. I tried signing the output DLL with signtool.exe, with a valid certificate, but unfortunately, Office says "There is no…
bondar
  • 484
  • 1
  • 3
  • 16
1
vote
1 answer

Powerpoint displays a "can't start the application" error when an Excel Chart object is embedded in it

This is a very common problem when Excel Worksheet or Chart is embedded into Word or Powerpoint. I am seeing this problem in both Word and Powerpoint and the reason it seems is the COM addin attached to Excel. The COM addin is written in C# (.NET).…
A9S6
  • 6,575
  • 10
  • 50
  • 82
1
vote
0 answers

Find an existing COM-Addin (excel) and update it

I get all existing COM-Addins in Excel by using " Globals.ThisAddIn.Application.COMAddIns". In my case, I have 8 COM-AddIns. 2 of them (A and B) are from my solutions and they are displayed in two different custom Ribbons with the same name. As I…
User2210
  • 11
  • 2
1
vote
0 answers

Creating Follow up email Reminder in Outlook Shared Add-ins

I am using VS 2010 , Dot Net Framework 2.0 . I have created a project in Extensibility->Shared Add-ins for Outlook. I want to create a follow up email reminder using Com Add-in can any body help me out how to do it. I have written some code and…
CHANDRAHAS
  • 637
  • 3
  • 10
  • 19
1
vote
2 answers

Excel OLE - .NET COM AddIn behaves differently when Excel is embedded in an application

I have a .NET (C#) addin that uses a COM Shim dll to load itself into Excel. The addin works fine without any problem when Excel is run normally. The addin displays its own custom toolbar in Excel that is used to execute different commands. When I…
A9S6
  • 6,575
  • 10
  • 50
  • 82
1
vote
1 answer

Running a pre-installation action on ClickOnce installation

We have a VSTO Excel COM-AddIn which is deployed as ClickOnce. This uses post installation actions by implementing IAddInPostDeploymentAction and binding it in the manifest under . However we now need a pre-installation action as…
Gayan Dasanayake
  • 1,933
  • 2
  • 17
  • 22