Solved

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

Posted on 2014-12-21
3
191 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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 article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

809 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