Questions tagged [shared-addin]

A Shared Add-In in an Add-In which is shared between multiple office applications.

Shared Add-Ins unlike VSTO Add-Ins can be written for more than one application i.e can be shared between MS Excel, MS Word etc. Unlike VSTO Add-Ins, Shared Add-Ins has to implement different methods for "connection", "un-connecting", "startup" and "shutdown".

Shared Add-Ins have a different deployment method as compared to VSTO Add-Ins

17 questions
2
votes
3 answers

Extracting Excel workbook name before it actually opens

I am trying to get the name of the workbook before it actually opens up. ((Excel.AppEvents_Event)this.Application).WorkbookOpen += new Excel.AppEvents_WorkbookOpenEventHandler(App_WorkBookOpen); private void App_WorkBookOpen(Excel.Workbook Wb) …
Shakti saxena
  • 183
  • 2
  • 19
2
votes
1 answer

A general Addin for office solution

Is there a possibility of having a general addin for Microsoft office and the same addin is visible in all Office solutions such as EXCEL, WORD, POWERPOINT etc. We can create individual addins for these applications separately but having a common…
Shakti saxena
  • 183
  • 2
  • 19
2
votes
0 answers

MS Office Shared Add-In: Why are ICustomTaskPaneConsumer.CTPFactoryAvailable and IRibbonExtensibility.GetCustomUI not called?

We're programming a shared add-in for PowerPoint and implement IRibbonExtensibility and ICustomTaskPaneConsumer in it. The add-in is registered for the individual users by setting the relevant keys and values in…
fdub
  • 166
  • 1
  • 6
2
votes
0 answers

Requirements for COM aggregate my custom IRibbonExtensibility implementation?

We have a stripped down Connect class which instantiates the addin's core from an other assembly. Our architectural design is to keep the UI and business logic separated from the loading module (= Connect class), but the restrictions of a shared…
user1261537
1
vote
4 answers

MS Word Plugin, Adding a button which pops up on right click on selected text

I am working on a shared addin for MS Word 2007. I would like to add a button which pops up when selected text is right clicked. The attached snapshot should make this clear. Currently, the user has to select the text and then click a button on a…
Nikhil
  • 2,230
  • 6
  • 33
  • 51
1
vote
1 answer

Redirecting callbacks to separate Ribbon-functionality from shared add-in

I’m trying to separate the functionality of a shared-add-in and a corresponding Ribbon (integrated through Ribbon Designer or XML in VS10). The solution context is build with several projects in which the add-in itself represents a host with an…
Kaffeepause
  • 208
  • 1
  • 3
  • 10
1
vote
0 answers

Strange issue inserting newline inside MS Word 2007 Table via C# Environment.NewLine

I created a Shared AddIn using Visual Studio 2008, C#. In the AddIn, I get data from a database, populate it into a Dictionary object, and use Word's builtin FindReplace to replace text inside a WordTemplate with the data from the database. …
Shiva
  • 20,575
  • 14
  • 82
  • 112
1
vote
1 answer

Create a sub menu in existing menu in Excel Shared Add-in

I am developing a Excel shared Add-in which has the menu called Custom which is created using Excel Macros. Now i want to create a submenu under the Custom menu using Csharp Shared Add -in. Iam using the below code for doing this but no…
SSK
  • 783
  • 3
  • 18
  • 42
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
1 answer

Adding CustomUI Ribbon using Shared Add-in(not VSTO) in Outlook 2007,2010,2013

I am using VS 2010 and my project template is Extensibility->Shared Add-in. I want an ribbon with a button which should invoke my form in outlook. I am not able to understand how to do this? I created a ribbonName.xml and ribbionName.cs using office…
C J
  • 429
  • 1
  • 10
  • 34
0
votes
1 answer

Sort Excel table (ListObject) on protected sheet using Excel Interop

Sorting Excel tables (ListObjects) is not allowed on protected sheets. You'll see the following error message: I spent weeks looking for a solution with no success. Everything out there is outdated with Excel 2007 code samples. There are no…
Leo Gurdian
  • 2,109
  • 17
  • 20
0
votes
1 answer

Detecting BCC in outlook inbox and other folders

I am creating outlook addins using Com addins C# and .net 2.0. I have created Add-in which detects BCC for the Emails present in Inbox etc. This Add-in actually detects if the email id which is configured in outlook is not present in the TO, CC and…
0
votes
1 answer

Removing duplicates Mailitem based on Subject ,body , Recipient name,Received Time

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 remove duplicate Mail-item based on Subject ,body , Recipient name,Received Time I want to know can i use search engine…
CHANDRAHAS
  • 637
  • 3
  • 10
  • 19
0
votes
1 answer

Saving object of Mailitem or any property which can be used to invoke Mailitem which was saved

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 save Outlook.MailItem Object in a DataTable on explorer_SelectionChange() and use this Outlook.MailItem Object to…
CHANDRAHAS
  • 637
  • 3
  • 10
  • 19
0
votes
2 answers

Getting From, SentOnBehalfOfName and Account name from MailItem Object (Outlook Shared Addins)

I am using Vs2010 -> Extensibility->Shared Add-in I have added a event handler to my ItemSend applicationObject.ItemSend += new Outlook.ApplicationEvents_11_ItemSendEventHandler(applicationObject_ItemSend); void…
C J
  • 429
  • 1
  • 10
  • 34
1
2