none
Seperate Word Addins for each custom ribbon tab group RRS feed

  • Question

  • Hi,

    I have a custom tab with two groups in Word application. On click of the group i should add a tabpage to the custom task pane.  Is it possible to have seperate word addins for each group(to have seperate VSTO files)?. But on click of each group button a single customtaskpane should be opened.

     

    Regards,

    Megarekaa.

    Tuesday, December 13, 2011 12:44 PM

Answers

  • Hi Megarekaa

    Unlike your similar issue in thread http://social.msdn.microsoft.com/Forums/en-US/worddev/thread/bb5a2762-8f72-49ad-aa07-8b2130774287, a shared DLL component can't help you, here.

    I don't think there's anyway two add-ins can share a single custom task pane.

    I don't know too much about what I'm going to suggest, but there are a number of threads in the VSTO forum where this is discussed (http://social.msdn.microsoft.com/Forums/en-US/vsto/threads) about using Remoting to access a program in one domain from another. Recently, when I've searched the topic generally on MSDN it's said that "Remoting" is out-dated, but I don't know what the alternative is. Anyway...

    If you can use Remoting (or a similar technology) to gain access to the other Add-in, then you should be able to call a method to close that CTP. Then the add-in that was triggered can display its own CTP, in essence "replacing" the other.


    Cindy Meister, VSTO/Word MVP
    • Marked as answer by Bruce Song Monday, December 26, 2011 4:20 AM
    Wednesday, December 14, 2011 10:08 AM
    Moderator