Solved

Excel VB.net/VSTO Add-in gets disabled often

Posted on 2014-12-21
3
184 Views
Last Modified: 2014-12-22
Hi

I have a Excel VB.net/VSTO Add-in  built in Visual Studio 2010.
It gets rolled out to over 70 people.
The problem is that every so often the ribbon disappears and the
add-in gets disabled. Most users don't handle this well.
How do I stop this from happening?
0
Comment
Question by:murbro
3 Comments
 
LVL 85

Accepted Solution

by:
Rory Archibald earned 250 total points
ID: 40512705
Normally you should get a warning asking if you want to disable the add-in if Excel thinks it has caused a problem. There isn't really much you can do about that other than try and figure out what the underlying problem is - unfortunately, it may not actually have anything to do with your add-in, in my experience.
0
 
LVL 5

Assisted Solution

by:Leon Kammer
Leon Kammer earned 250 total points
ID: 40512722
Hi,

Could be many things from a corrupted xlb file to network permissions, the office ribbon has been and continues to cause problems since 2007.

Does CTRL+F1 restore the ribbon?

Does the ribbon disappear for files accessed only over the network file share (and for files in protected mode)?;
Does the ribbon disappear for those users on the wireless and wired networks?

Does the ribbon disappear:
When a macro enabled file is opened?;
When a specific file is opened (or does it occur randomly)?;
When opening a file directly (double clicking) as well as when opening a file from within an Excel session?

Cheers

Leon
0
 

Author Closing Comment

by:murbro
ID: 40512868
Thank you both. It looks like the problem isn't going to go away and I should focus on telling users to watch for that prompt
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Approximate matching with VLOOKUP and MATCH seems to me to be a greatly under-used technique, and one which is vital for getting good performance out of large lookups. Until recently I would always have advised using an exact match for simplicity an…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question