Installed Office word add-in is not working - c#

I created a word add-in and now want to use it on another com.
I have installed and set in options/add-ins/. It shows that my add-in is active but from the menu-bar I can't find add-ins.
Please help me how can I do?
I developed with C# and publish into setup.exe and .vsto file. So install with them on other coms.

Check if your Custom Ribbon is activated:
File -> Options -> Customize Ribbon -> Main Tabs
Your Custom Ribbon option should be checked

By default, if a VSTO Add-in attempts to manipulate the Microsoft Office user interface (UI) and fails, no error message is displayed. However, you can configure Microsoft Office applications to display messages for errors that relate to the UI. You can use these messages to help determine why a custom ribbon does not appear, or why a ribbon appears but no controls appear.
To show VSTO Add-in user interface errors you need:
Start the application.
Click the File tab.
Click Options.
In the categories pane, click Advanced.
In the details pane, select Show VSTO Add-in user interface errors, and then click OK.
See How to: Show Add-in user interface errors for more information.

Related

Outlook add-in not showing in outlook menu after installing

I have created a setup file for outlook add-in using installShield. After building the setup project, it has given setup file, that I installed in my machine. But when I open the outlook it is not showing in add-in tab. I tried to search the disabled add-ins also, it was not there.
Please suggest me.
By default, if a VSTO Add-in attempts to manipulate the Microsoft Office user interface (UI) and fails, no error message is displayed. However, you can configure Microsoft Office applications to display messages for errors that relate to the UI. You can use these messages to help determine why a custom ribbon does not appear, or why a ribbon appears but no controls appear.
To show VSTO Add-in user interface errors you need to do the following steps:
Start the application.
Click the File tab.
Click Options.
In the categories pane, click Advanced.
In the details pane, select Show VSTO Add-in user interface errors, and then click OK.
See How to: Show Add-in user interface errors for more information.
Also I'd recommend choosing your own custom tab for the UI. Thus, you will be able to avoid any clashes with other add-ins.
VSTO provides two main ways for creating a custom tab:
Walkthrough: Create a custom tab by using the Ribbon Designer
Walkthrough: Create a custom tab by using Ribbon XML
I missed the below step in InstallShield
I registered the Addin in Repository with the details of
Description, Friendly Name, LoadBehaviour, and Manifest.
Now The add-in is showing in outlook menu bar.

Outlook AddIn, there are two duplicate Ribbon shows in Ribbon bar .

I developed Outlook AddIn and create the setup project for 64bits using Visual Studio 2013.
My office is 64bit as well. Currently my problem is that there are two ribbons menu instead of one.
After installating, I open my outlook and check. I can only see one ribbon menu.
but I load my outlook second time, there can be see two ribbons. so I mouse over to these two ribbons.
one is my setup project name and another one is my outlook addin name. but they do the same purpose
and all layouts and functions are same. I would like to know why did two ribbon come out instead of one.
Best Rgds,
dartfrog
Looks like you didn't unregister the add-in from Visual Studio before running the installer. Use the Clean context menu button as shown on the screenshot:
You can disable add-ins in the host application. Just go to the COM Add-ins dialog and unselect the required one.

How to open a outlook 2007-addin project with a button click in a different windows form project

My solution contains two projects, one is a Windows form and the second is a
Outlook 2007 Add-in project.
I have added one form, to the form project, and it contains one button. When clicking the button, I would like it to open the Outlook 2007 Add-in project.
And then I will perform operations on the Outlook 2007 Add-in project.
The add-in project can be just use in outlook.
You can open outlook to use this
Process.Start("outlook.exe");

Deploying VSTO Add-In to All Users

I add a Word 2013 Add-In project for add ribbon to word.
I Release it. it added ribbon to word for current user, but i want add it to all user.
I set registry in windows.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\12.0\Common\General\
Set EnableLocalMachineVSTO=1 for it.
but don't add it to all user.
You need to register the add-in for all users. See Registry Entries for Application-Level Add-Ins for more information.
I'd suggest creating an installer for the add-in to get it deployed easily. The Deploying an Office Solution by Using Windows Installer article describes all the required steps for creating MSI instanllers.

C# VSTO Outlook 2007: <dll> is not a valid Office Add-in

Hi i am developing Outlook 2007 Add-in in Visual Studio 2008. When I press F5 in VS editor, Outlook is normally opened with my plugin.
But if I want to add plugin manually from Outlook (Tools -> Trust center -> Add Ins...) and select my plugin from build path ....\bin\Release\plugin.dll
This messagebox is shown: "....\bin\Release\plugin.dll" is not a valid Office Add-in.
I have NOT this plugin in disabled items. (Help -> Disabled Items)
I searched many threads on internet with same problem but no soulution. :-(
Never add your add-in manually via that dialog - it's completely useless. Add-ins need to be properly registered with Windows Installer packages (or when debugging in Visual Studio) to be loaded properly.

Categories