Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3457760
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T09:53:59+00:00 2026-05-18T09:53:59+00:00

I’m trying to separate the functionality of a shared-add-in and a corresponding Ribbon (integrated

  • 0

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 interface to another assembly that is loaded on runtime. In this assembly I want to get access to the callback methods of the Ribbon implemented in the shared-add-in (connect.cs). The MSProject2010-application I tried to inject the Ribbon is wrapped in that assembly to grant access to the instance of Project.

In the Host is a Startup()-Function that scans through all assemblies in a specific directory and integrates the one with the right interface. So, the AddIn_Startup(Params)-Function located in the assembly is called through the interface and here is the context, where I want to get access to my Ribbon-callbacks.

Now, how is it possible to route the Callbacks from the MSProject-application, through the shared-add-in into the assembly?

Another question: How is it possible to access a custom Ribbon through an external assembly? (Same environment)

Best regards

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T09:54:00+00:00Added an answer on May 18, 2026 at 9:54 am

    I found a solution myself.

    The problem is the context of the shared-addin. It’s complicated to manipulate a Ribbon environment compared to the way it is realizable via VSTO. I turned the shared-addin into a MSProject2010-Addin and then I pass the Ribbon itself as into the interface. This is possible by making a Ribbon with the Ribbon Designer that registers the Ribbon in the Globals class, that is delivered by the Addin. (Globals.Ribbons.RibbonName.Ribbon). On the other side I cast this object into a OfficeRibbon and assign it to an empty OfficeRibbon. Here I can manipulate and alter the properties of the ribbon and create EventHandlers. It is NOT possible to add Tabs, Buttons or other Controls to the Ribbon during runtime! At least I could not find a way to do that.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to access an XML file within a jar file, from a separate
I´m trying to separate a gridViewColumn into two rows. Im using default style for
I am trying to separate some asp logic out into a separate page. For
trying to implement a dialog-box style behaviour using a separate div section with all
I'm trying to get crawl to work on two separate farms I have but
I'm trying to abstract out all database code into a separate library and then
I'm trying to pass an instance of a class between two separate classes, like
I'm trying to create a bookmarklet for posting del.icio.us bookmarks to a separate account.
I trying to convert some loops in my code to use the for_each functionality
I am trying to have a table header, in a seperate div stay in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.