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
1
vote
0 answers

How to find out the installation-directory / path from COM-AddIn

I've got a List of COM-AddIns from Excel and want to find out the installation-path of the AddIns, but the object "Microsoft.Office.Core.COMAddIn" only have the following…
Hiead
  • 93
  • 9
1
vote
1 answer

COMAddIns how to turn them on/off programmatically in Office Word 2003

I need to be able to turn off a COM add-in in Office Word 2003 but still keep it in the COMAddIn list (just not enabled). I have found the COMAddIn.Connect flag and I set it to false to try and turn if off but it seems to completely remove it from…
user1255276
  • 541
  • 2
  • 5
  • 20
0
votes
0 answers

Excel COM add-in not loading in

I have an excel com add-in. When I start excel drop this error message, and not load in the add-in: The common language runtime could not be loaded by file:///C:\Program Files (x86)\Obnex Technologies\SQL Spreads Desktop\SQL Spreads.vsto|vstolocal.…
0
votes
1 answer

COM addin for MS Office doesn't load in a limited user account

I've created a toolbar for Word. It's a COM addin and is written in C++. It works when Word is started by an Administrator account in XP. But when Word is started from a limited account it's not even loaded. I placed this code in…
sashoalm
  • 75,001
  • 122
  • 434
  • 781
0
votes
3 answers

Outlook Crashing on Spellcheck when COM Add-In tries reading message

OUTLOOK VERSION: 2212 Build 15928.20282 32 Bit Outlook running on 64-Bit Win. PRE-CONDITION: Have a simple add-in which Overrides the InspectorActivate event handler. RECREATE: Open a new message Item type in a few words and make a spelling error…
ezG
  • 391
  • 1
  • 17
0
votes
1 answer

Windows Installer Setup Project does not accept output from VSTO Excel add-in project due to supposed architecture mismatch

I am migrating an old Excel add-in from 32 to 64 bits. Orignal source code was lost so I need to repackage VBA files from an old MSI cabinet. I want to build a package (MSI) that contains: Updated Excel files from the old plugin (XLAM, XLA and some…
0
votes
1 answer

ms word dispids for events

I am trying to find a web page that lists all the disp ids for msword c++ addin. I need all the dispids for my event handlers. I am interested in the DocumentEvents, Application events for my add-in. The most important id's that I need are for Open,…
Tom Lee
  • 11
  • 1
  • 3
0
votes
1 answer

Outlook Add-in Development : Mail Information Removed While Reply/Reply-All

I am developing add-in of outlook (Not VSTO). I want to change content of mail while replying. Currently i am facing below case : I have a mail with body 'abc' Now i want to change content from 'abc' to 'abcd' while replying I have done that But…
Smit Rathod
  • 101
  • 6
0
votes
1 answer

declaring New Microsoft.Office.Interop.Excel.Application outside of Sub makes the VSTO COM addin to freeze during loading

I have created an Excel COM add in which opens a windows form from a ribbon button. I want to populate the combobox using data from an external excel spreadsheet as well as populate the textboxes based on the selected name. The part of the form…
obito357
  • 5
  • 1
0
votes
1 answer

Outlook add-in disabled; Impossible to re-enable

I have an add-in in Outlook. About a month ago it got disabled and no longer loads. I went to file - Manage COM Add-ins, and it shows up under Slow and Disabled Add-ins. Under options it only has one option, "Enable this add-in". (not 4 different…
Denwen
  • 11
0
votes
2 answers

PowerPoint VSTO - how to lock Shapes (manually you would do this in the Selection Pane)?

The following answer explains how to do this in VBA by setting the Locked property on the PowerPoint Shape. However, when trying to do this in C# as a VSTO Addon the Locked property is not available.
0
votes
1 answer

Advanced Installer VSTO Add-in Deployment to Entire Machine not working

I'm using Advanced Installer to try to create an installation package (single EXE setup file) for an MS Project VSTO add-in. I need the installation Type to be Per Machine but when I chose this option and run the setup.exe file, the Add-in will not…
0
votes
2 answers

VSTO Identify shared vs User mailbox

In a VSTO add-in, I am trying to retrieve if the type of the mailbox is shared, user or resource. I read some interesting posts related to the question and try to look at the OlExchangeStoreType or GetConversation or MailboxType but did not…
Salim
  • 495
  • 3
  • 20
0
votes
1 answer

C# - How to find which mailItem user is closing in outlook [com-addin]

I am currently trying to do some operations on mailItem close. With the Microsoft ItemEvents_10_Event.Close event doesn't provide which mailItem is getting closed. If the user opened multiple emails and closes one of them, how can I get to know…
Dharun
  • 15
  • 7
0
votes
0 answers

How to create a task pane using C++/COM in MS Office?

I know Office add-ins can be created by Office.js VSTO COM I implemented an add-in before using VSTO, after searching for the information on how to do that on the Microsoft website, I get nothing. Is it lost how to create Office add-in using…
Lucas
  • 222
  • 3
  • 9