Questions tagged [addin-express]

Framework for developing Office add-ins using .NET platform.

Solid framework for deep customization of Microsoft Office. Use solution templates, visual designers and components to develop version-neutral, secure and easy deployable extensions for all Office versions.

62 questions
8
votes
1 answer

Excel function throws exception when set by code behind. Works when used in excel

I've defined my own Excel function (called ADXExcelFunctionDeescriptor). The method stub looks like following: public static object ExecuteMyFunction(object values, object tagName) { // Some code here } The method receives an array of double values…
Daniel W.
  • 449
  • 10
  • 29
3
votes
2 answers

Breakpoints not triggering in VSTO Add-in

I was made aware of an interesting situation by my client today. I am sure it is something simple but seems like I can't put my finger on it. Have never faced this issue and Google has not been too helpful. Problem On my client's laptop, the Add-In…
Siddharth Rout
  • 147,039
  • 17
  • 206
  • 250
3
votes
1 answer

Is `Range.Formula` a COM object?

In other words do I need to release it with Marshal.ReleaseComObject()? I know Range is and it needs to be released but I am not sure about the Formula.
Mr1159pm
  • 774
  • 1
  • 10
  • 21
2
votes
1 answer

Can't Interact with Elements at Right and Bottom Edges of DPI-Scaled WPF Window

I'm attempting to finalise high DPI support for an Office COM Add-In running .NET Framework 4.6.2. I'm following the principles outlined by Microsoft for handling DPI Scaling in Office. The only approach that can be used for Office add-ins is to set…
Lann
  • 29
  • 1
2
votes
1 answer

Save Outlook.MailItem Async?

Is there any way to save an Outlook.MailItem as a .msg file in an asynchronous way? I'm using: MailItem.SaveAs("path", Outlook.OlSaveAsType.olMSG); But it's slow.
Anderson Rissardi
  • 2,377
  • 1
  • 16
  • 21
2
votes
2 answers

How to identify that the MailItem opened in the Inspector is an attachment to another MailItem?

I need to identify if the selected 'MailItem'(Inspector or Explorer) is an attachment of another MailItem. I've done a lot of research and I have not identified any way to do that. I need to identify if it is an attachment of another message because…
2
votes
0 answers

Adding custom button right of Forward in outlook

In Outlook 2013's reading pane, we got the new quick REPLY, REPLY ALL and FORWARD. Is it possible to to add a custom button next to "FORWARD" (indicated by the red arrow here) using AddinExprees https://www.add-in-express.com ?
Shyam sundar shah
  • 2,473
  • 1
  • 25
  • 40
2
votes
1 answer

Get deleted Range in Excel

Here's what I am trying to achieve with a Excel Addin. Excel user selects a range and he deletes it. I want to write cell data (whatever he deletes) in that range to a log file. Multiple questions on SO say that you can't get deleted range in…
user1
  • 4,031
  • 8
  • 37
  • 66
2
votes
3 answers

How to reliably know what object is current (in focus) outlook window. i.e. an explorer type or Inspector type

We are using an add-in express region, which loads on the right-hand side of Outlook. In that form region, we have one user control, MyContainer. This in turn contains two controls. In MyContainer, we need to decide on the visibility of each child…
Defry
  • 84
  • 6
2
votes
1 answer

How to get outlook email Subject using add-in express

I am new to Add-In express outlook development. I am working with sample project getting email subject when select the email and clicking the button get the subject details in the popup window. thanks in advance.
Sandun Tharaka
  • 727
  • 2
  • 9
  • 29
2
votes
1 answer

How do I create a single exe file to distribute a C# application?

I have finished a c# Add-In application for outlook. And I want to create a single exe file for distribution. I have been on Add-in Express but I am not looking for a ClickOnce, ClickTwice or web based solution. At the moment i have a created a…
Jim
  • 113
  • 2
  • 11
1
vote
0 answers

word.object.model how to detect if range's word is hyphenated

I'm writing a spellchecker in VB.NET. To highlight the words, I use the GetPoint() method to get the coordinates/bounding box of that word. A problem occurs when the misspelled word is hyphenated as GetPoint() returns a huge box (containing both…
MirrorMirror
  • 186
  • 8
  • 36
  • 70
1
vote
2 answers

word object model - active document event when clicking on FILE

I'm developing an MS Word add-in. In newer MS Word editions, there is the "FILE" option in the menu bar which opens an interface where you can select a recent document to open, open a new one, or an existing one. I am trying to find a way, through…
MirrorMirror
  • 186
  • 8
  • 36
  • 70
1
vote
3 answers

How to match XLL for XLL compatible custom functions [Spoiler: you don't]

To enable compatibility with an existing XLL, I want to identify the equivalent XLL in the manifest of my Excel add-in. My existing add-in is using XLL technology, but it does this by using 3rd party libraries of Add-In Express. So in my case the…
1
vote
1 answer

How can i get the outlook search folder deleted event?

I need to get an event when delete outlook search folder current i am using below event but its not fire void folders_FolderRemove() { MessageBox.Show("A folder was removed"); }
1
2 3 4 5