Questions tagged [add-in]

AddIn (Add-In or Add In) is a synonym for plugin - a program that is triggered by a host program allowing third party developers to manipulate or extend the hosting program.

Add-In (AddIn or Add In) is a synonym for - a program that is triggered by a host program allowing third party developers to manipulate or extend the hosting program.

Typically, whether these programs are called "addins" or "plugins" depends on the programming language and platform. For example, in they are called plugins whereas in they are called addins. Some programs also call them "addons". In any case, these programs add or extend functionality to an existing program.

In most cases the hosting program will expose an extensibility interface to the hosted code, allowing it to execute tasks.

The most used types of Add-Ins are those automating the Microsoft Office programs (Word, Excel, Powerpoint, Outlook), browsers (Internet Explorer), IDEs - Visual Studio. But other non-Microsoft programs provide COM Extensibility as well (Skype, Altova software products, Photoshop, AutoCAD and many others).

In most cases the Add-Ins use COM object interfaces (that allow the Add-In code, if started from a standalone executable to instantiate the host program and then manipulate it) exposed by the hosting software.

Links:

2555 questions
7
votes
5 answers

How do you check if a variable is used in a project programmatically?

In VB.NET (or C#) how can I determine programmatically if a public variable in class helper.vb is used anywhere within a project?
Kingamoon
  • 1,467
  • 1
  • 18
  • 32
7
votes
1 answer

Ribbon button not firing event set by onAction when clicked

I've designed an add-in to Outlook 2010 where I'm trying to fire (or, rather, catch) an event fired when a button is clicked as shown in this article. I've targeted the right XML (since the changes to it are seen on the ribbon). However, The event…
Konrad Viltersten
  • 36,151
  • 76
  • 250
  • 438
7
votes
3 answers

Find the last used row in Excel with C#

Possible Duplicate: How to get the range of occupied cells in excel sheet Im trying to find the last used row in an Excel worksheet. For doing this, I'm using this code: int lastUsedRow =…
Harving
  • 83
  • 1
  • 1
  • 6
7
votes
1 answer

Worksheet.Name causes OutOfMemoryException

.Net4 C# VSTO4 Excel Add-In: The following function is called very often, let's say every second: /// /// Gets a unique identifier string of for the worksheet in the format [WorkbookName]WorksheetName /// ///…
jreichert
  • 1,466
  • 17
  • 31
6
votes
3 answers

Writing an Addin or Plugin Framework in C#

I am writing an Addin Framework in C# and I'm wondering how I can make Addin's unloadable without requiring a restart of the application. I heard of AppDomains but how do these work? Can an Addin add extendability classes and be called in the Main…
DrHouse
  • 99
  • 1
  • 8
6
votes
2 answers

I don't want my Excel Add-In to return an array (instead I need a UDF to change other cells)

I've created an Excel Add-In, and one of the functions of this Add-In, lets say New_Years currently takes in 2 years and outputs every New Years day between those 2 years as an array in Excel. So New_Years(2000,2002) would return Jan 1st 2000, Jan…
Derek
  • 818
  • 7
  • 11
  • 22
6
votes
1 answer

How to specify AddIn process names?

I am using the Microsoft AddIn Framework to load AddIn assemblies. I am running them in their own process as to separate them from the service. The thing I don't like it that every AddIn process shows up as AddInProcess32.exe in the task manager. …
Brian
  • 1,397
  • 9
  • 33
  • 51
6
votes
3 answers

How do you call "Document Format" programmatically from C#?

I'm writing a simple VS add-in and would like to programmatically invoke the "Document Format" option (under Edit) within code. Google isn't being very friendly to me today....
BFree
  • 102,548
  • 21
  • 159
  • 201
6
votes
3 answers

Is it possible to use a new SDK-style .csproj file for a VSTO Addin project

I cannot find any documentation, if VSTO AddIns are supported by SDK-style projects. I already installed and used h. van brakels project2015to2017.migrate2019.tool. The resulting project files are usual class libraries and no more Powerpoint AddIns.…
Kalle
  • 149
  • 5
6
votes
1 answer

VS2010 DTE Addin: project inside solution folder is not "Project"

I have a small vs addin which looks for projects inside a solution and does a few stuff with it. I collect the projects like this: Application.DTE.Solution.Projects.OfType(); However, as soon as I introduced a solution folder and placed a…
TDaver
  • 7,164
  • 5
  • 47
  • 94
6
votes
3 answers

Getting errors after installing Productivity Power Tools

I've just downloaded and installed the Productivity Power Tools for Visual Studio 2010. I got out of VS 2010, and got back in, so that it would load the new add-in. The moment it got back in I started to get a lot of error messages. For…
Rod
  • 4,107
  • 12
  • 57
  • 81
6
votes
2 answers

How to open file programmatically using EnvDTE in C#

How to open file programmatically using EnvDTE in C#.
user591790
  • 545
  • 2
  • 15
  • 33
6
votes
7 answers

Visual Studio 2008 crashes when trying to load solution file

When I try to load a solution in Visual Studio 2008, it immediately closes. I get the following error in the event log: .NET Runtime version 2.0.50727.3053 - Fatal Execution Engine Error (6E875E00) (80131506) I've searched the web high and low…
Chris Conway
  • 16,269
  • 23
  • 96
  • 113
6
votes
2 answers

Get current logged user in Excel office-js add-in

I would like to add to my Excel add-in a mechanism to keep track of the last user who performed certain action and the date it was performed. Is it possible to get information about the user currently logged to Excel from the add-in? Thanks!
Mario Solís
  • 204
  • 2
  • 8
6
votes
1 answer

Calling a python function from within LibreCalc

I have the following code inside a file called calculadora.py def calcpy(numA,numB): return numA+numB Which is the proper way of calling the function calcpy() from within LibreCalc? I'd like to put, say, in cell A1=calcpy(B1,C1) and obtain the…