office-addins

What is the best way to package and distribute an Excel application.

I've writen an Excel-based, database reporting tool. Currentely, all the VBA code is associated with a single XLS file. The user generates the report by clicking a button on the toolbar. Unfortunately, unless the user has saved the file under another file name, all the reported data gets wiped-out. When I have created similar tools in W...

Creating a plugin for outlook with VS 2008

I've created an outlook add-in using Visual Studio 2008. What I want to do is add a menu item to the right click context menu of an email item. Does anyone have a sample or two of how to do this? ...

SQL Server CE + Addin Read and Write Collision Avoidance?

We have an Office Addin that uses Sql CE with the usual DBConnection to a *.sdf in the filesystem ('C:/...etc...'). When we start two copies of the application having the Sql CE-augmented Office Addin (testing what a user might do by mistake) the Sql CE database becomes corrupted and the Office Addin can no longer access its data. It...

Error MSB4062: The "GenerateAndPersistAppInfoTask" task could not be loaded...

We have added a number of Office AddIn projects to our TFS-built solution and now it's breaking. We are using Visual Studio and TFS 2008 (SP1). 4 projects have been added, one for each of the following targets... Word 2003 Word 2007 Excel 2003 Excel 2007 The Build Log reports the following ... C:\Program Files\MSBuild\Microsoft.Visu...

How to build an Office Add-In without registering it on the build system?

We are building Office 2007 add-ins using Visual Studio 2008. Our builds are performed via a continuous integration server (one machine) that builds whenever we check in changes or manually request one. The server can perform simultaneous builds. We noticed that when Visual Studio 2008 builds an Office 2007 add-in, it also registers i...

How to create an addin for PowerPoint

I want to create an addin for PowerPoint that adds a button to the PowerPoint toolbar. How can I do this? ...

how to add an addin button to powerpoint ?

there's a problem in attaching an addin to powerpoint using following code public void OnStartupComplete(ref System.Array custom) { CommandBars oCommandBars; CommandBar oStandardBar; try { oCommandBars = (CommandBars)applicationObject.GetType().InvokeMember("CommandBars", BindingFlags.Get...

Accessing Visio Database Reverse engineering schemas through an addin

I'm trying to build a visio addin that allows me to get a list of tables when a database reverse engineer is run. I'm using the Microsoft.Office.Interop.Visio library. I can find a list of shapes on the page, but this gives me every single shape on the page and every single piece of text. i would like to have a list of just the database...

Office 2007 add-in takes long time to load the first time

Hi! I have Office 2007 VSTO add-in, it uses ribbon XML, and so on. When the Office is first started after the reboot, it takes significantly longer time, than when it is started for the second time. The add-in is registered as vstolocal and trusted using VSTO inclusion list during installation. As I understand, this avoids installing it...

Add a custom Ribbon group to an existing custom Ribbon group in word 2007

Hi How can I add a new group to an existing (3rd party) custom ribbon tab add-in? I know that I can add to out of box ribbons by specifying the Tabs idMSo value but how do I do that for a custom ribbon tab. I have already tried the ID value of the custom ribbon, but it juts duplicates the ribbon? have also tried idMso and idQ attributes...

Shared Addin in C Sharp

I'm totally new in Addin in .net 2010. I have searched a code which is working fine to just show the messagebox in Microsoft office application thorough a custom button. Please help me that how can I write some text into Office document through this button and call my own popup form. My code is this: using Microsoft.Office.Core; using...

How can I programmatically bring up the document properties window in Word and go to the Summary tab?

I am developing a VB6 COM add-in for Microsoft Word and I have added a button to the Ribbon which will save the document to a database. But before the document is saved, I want to take the user to the document properties window so they can fill in the properties for the document (like Title, Subject and Author). I am using the followin...

VB macro or office addin for mac

Hi, Currently we developed a VB macro for word. While we tried to use it on mac it failed with message "VB Macro not supported in mac". Is there a way to c# office add-in for mac? My requirement is to have a simple utility to add comments(read from user) to the selected text in the current word document. Also need the functionality of th...

How to add tabs to PowerPoint 2010 that call macros

I have created a pptm file with macros that open certain pptx templates. I then created a new tab with buttons for opening the files. I attached the macros I created to those buttons. All works great as long at my pptm file is open. But after I save it as a ppam file and install it as an add-in it no longer works. It seems the macro...