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
8
votes
4 answers

Excel COM add is not loading during startup and have to add it manually

Excel COM addin is not loading during starting up and each time I have to add it manually. After checking the File > OPtions > Add-ins > Manage -> COM addins, I see that the 'add in' is in 'Unloaded' state. Not sure how to make it automatically load…
user2373210
  • 461
  • 2
  • 5
  • 16
4
votes
3 answers

What do I do when launching an application triggers repeating, endless Windows Installer self-repair?

Windows Installer self-repair can cause problems for both developers, system administrators and end users. Finding the solution can be difficult if you have limited MSI experience. This is a Q&A-style answer intended as a check list for solving…
Stein Åsmul
  • 39,960
  • 25
  • 91
  • 164
4
votes
1 answer

How to create InstallShield Setup of VSTO (COM) Addin for Excel using Installshield 2008

I have created a com addIn in Visual Studio Tools for Office (VSTO) for Excel 2010 and I want to create a single exe setup file for end user. I have googled this issue but all I can find are the solutions using Visual studio. I want to create setup…
AddyProg
  • 2,960
  • 13
  • 59
  • 110
4
votes
1 answer

How it is correctly to implement IDTExtensibility2 interface for Office COM Add-In?

I am implementing COM Add-In for Outlook. I use IDTExtensibility2. I am not sure whether this is the best way of doing COM Add-Ins but I cannot change that. This interface defines five methods: OnConnection, OnStartupComplete, OnAddInsUpdate,…
Mik Kardash
  • 630
  • 8
  • 17
4
votes
1 answer

Embedded Office Application - How to know whether the app is running or the object is embedded

I am adding an Excel Worksheet object inside Word. Excel has a COM addin attached to it. Any idea how one can know whether Excel is running independently or as an embedded object? The COM Addin attached to Excel loads when the embedded Excel object…
A9S6
  • 6,575
  • 10
  • 50
  • 82
4
votes
1 answer

Export Visio Macros to Visio COM-Add-in

I have written some Makros and Functions in VB all code works fine behind my Document. To save my code and make it available to other users I want to create a COM-add-in for VIsio. So i bought Visual Studio 2008 and I want to import my code to…
minduser
  • 51
  • 1
  • 2
3
votes
0 answers

Is possible to create a MS Office com add-in using .Net 5 and an unmanaged shim?

Since VSTO has yet not been ported to .NET Core, can I do it the old fashioned way and create a unmanaged shim to load the CLR and host the managed .Core 5 add-in? My particular use case is an Outlook COM add-in that is currently built using VSTO…
Shane
  • 2,271
  • 3
  • 27
  • 55
3
votes
2 answers

Show or Hide a VSTO Addin Ribbon

My goal is to simply offer my addin if Office application is launched with a certain argument. Unfortunately, I could not find anything to help me do this. I have tried to use the Office Application Load Addin swtich /lc:Addin.dll with no success.…
SimperT
  • 2,837
  • 2
  • 15
  • 19
3
votes
2 answers

Excel VBA project not getting closed

I have a COM addin in which I am handling excel events. I click Alt F11 to view the VBA project related to an excel. However, when I close the workbook the Excel VBA project in the project explorer is not closed as well. It gets closed normally when…
2
votes
1 answer

Outlook COM Addin bundle install with a seperate msi file C#

I'm trying to be able to bundle an Outlook addin (.dll file) that I've made in C# with a separate msi installer (not the default one created in Visual Studio). The add-in works great using the default setup that Visual Studio creates but I'm…
Hamer
  • 1,354
  • 1
  • 21
  • 34
2
votes
2 answers

Order of events reversed 'Ribbon_Load' and 'ThisAddin_Startup' Word VSTO Add-in. (Build 8201.2025 onwards)

As of Build 8201.2025 there has been an unexpected change to the order of events when loading a VSTO addin with a Ribbon in Word. Using Office version 16.0.8067.2115 or older. When loading the addin the following order of events is observed (as…
K.G
  • 31
  • 1
  • 8
2
votes
3 answers

Excel Addin - OnDisconnection/OnBeginShutdown not called on logoff

I have developed a Shared Addin for Excel using Extensibility IDTExtensibility2 interface in Visual Studio 2008. It's quite basic in functionality. When a workbook is opened it is stored in a list of opened workbooks, when it is closed the addin…
kzhen
  • 3,020
  • 19
  • 21
2
votes
0 answers

Office 2013 Com Shim Add-in

I have a Com Add-in for Office 07,2010 created in VS 2008 , .net 2.0. implementing IDExensibility2 and IRibbonExtensibility. Com Shim dll - C++ Rest all code -C# I need to upgrade this project to Office 2013, i have read online that it doesn't…
Pawan Kumar
  • 247
  • 6
  • 21
2
votes
1 answer

Manually trigger Windows Error Reporting from a Outlook COM Add-In

I am writing a Outlook COM Add In using Visual Studio 2008 and VSTO. If an exception goes unhandled in the add in, I would like it to trigger Windows Error Reporting (WER). Our company has access to WinQual so that we can get reports of WER…
Jason Swager
  • 6,421
  • 6
  • 41
  • 56
2
votes
0 answers

How to make COM Add-in inactive?

I have a COM Add-in, which I want to make inactive with VBA Code (or maybe with another Excel Add-in '.xla'). This is my company's internal COM Add-in. Working of this COM Add-in: While closing a workbook, a form is generated. This form asks which…
Fagun Safi
  • 61
  • 1
  • 6
1
2 3 4 5 6