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

  • SEARCH
  • Home
  • 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 6747489
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T12:26:54+00:00 2026-05-26T12:26:54+00:00

Using Visual Studio 2010 I created an Office 2010 Word add-in project that has

  • 0

Using Visual Studio 2010 I created an Office 2010 Word add-in project that has a ribbon with a couple of basic controls. I haven’t even added code yet. When I debug the project Word launches and that ribbon (“Ribbon 1”) is shown. All good so far, but…

Problem 1: Now when I open any Word document that same ribbon is still there!

Problem 2: I have a 2nd ribbon (“Ribbon 2”) that I’m working on in another project. When I debug that, BOTH Ribbon 1 and Ribbon 2 appear combined as 1 ribbon! And that combined ribbon still shows the next time I open any Word document.

The source of both problems seems to be that Visual Studio is not properly uninstalling the ribbon when I stop debugging. I’ve been working around it by manually installing the ribbon myself and then uninstalling it via VSTOInstaller.exe — a real pain.

How can I make sure the ribbon is completely removed when I stop debugging?

(I found a similar question here but neither answer is clear.)

  • 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-26T12:26:55+00:00Added an answer on May 26, 2026 at 12:26 pm

    When a VSTO add-in is installed, it is added to the Windows registry under HKEY_CURRENT_USER\Software\Microsoft\Office\Word\Addins for Word. (Add-ins for other Office apps are nearby.)

    The easiest thing would be to write your own console app that simply removes your add-in from that registry location. All it would need to do is delete the sub key that’s named the same as your add-in. Then you could run that utility whenever you’re finished with your debugging session.

    If you want it to happen automatically, then you’d need to figure out how to hook into Visual Studio for an event that fires when you stop debugging and remove the add-in from the registry there. I’ve never tried anything like that though.

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

Sidebar

Related Questions

I'm using Visual Studio 2010 to create a Word Template. I created a Ribbon
I have created an office shared add in using Visual Studio 2010 .NET 4.0.
I've created my first setup project using Visual Studio 2010. I've noticed that when
I opened a solution in Visual Studio 2010 RC that I previously created using
I'm using Visual Studio 2010 RC. Would it be possible that after doing my
I have created an OData/WCF service using Visual Studio 2010 on Windows XP SP3
I'm using Visual Studio 2010 to create a small WPF application. I've created a
Using: Visual Studio 2010 Created: Console Application in C# Accessing: a Java created WSDL
I am using Visual Studio 2010 to create a Outlook 2010 Add In. I
I created 2 games using the visual studio 2010 for WP7 using XNA and

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.