add-in

How do you use WiX to deploy VSTO 3.0 addins?

I want to deploy a VSTO 3 Application Level Word 2007 addin that I've written with Visual Studio 2008. I see that WiX has an extension named WixOfficeExtension that looks like it might have this functionality, but I can't find any documentation for it, and I can't discern it's purpose from the source code. Has anyone attempted this befo...

Extending the Visual Studio editor

I'm writing an add-in for extending Visual Studio 2008 (adding custom functionality). While doing that I came across a situation where it would be good if I could provide custom messages via tooltips for any line of code. Doing this IMO requires accessing the VS editor control and by some way displaying the respective tooltip. This migh...

How to call a VSTO AddIn method from a separate C# project?

I have a C# Excel Add-in project "MyExcelAddIn" that has a public method Foo() to do something complex. For testing purposes, the add-in also defines a toolbar button which is wired to Foo() so I can test this and verify that clicking the button calls Foo() and does what I want it to do. This is fine. Now I want to call this method from...

What can cause Outlook to change a COM-addin's LoadBehavior to 2 - other than unhandled exceptions?

For some weeks now we have been fighting with an issue where at a small number of customers our Outlook addin gets unloaded and disabled for yet undetermined reasons. By "disabled" I mean that Outlook changes the following registry value from 3 to 2 which in effect means that the addin will not be loaded on next startup: HKEY_LOCAL_MACH...

Tooltip on Outlook Add-in Ribbon

Hi, I created a outlook add-in using VSTO 2008. I didn't create a separate ribbon/group for this add-in. Instead VSTO automatically create the add-in button in the built-in Ribbon when Outlook starts. Now how do I customize the tooltip of that add-in icon? Here is the snippet to add label and icon for my add-in [Microsoft.Office.Tools....

VS addin: View markup. Does exists something like that?

While working with ASP.NET using Visual Studio (2008) I have discomfort issue: source code editor context menu has only item 'View Designer' but nothing about to view markup quickly! To see it you need to open Designer and click Markup label in the bottom of a window. Or use Shift+F7 hot key (by default). So I want to add an item menu ...

Xsd2code not working in VS 2008

Hi, I am trying to use Xsd2Code but the addin does not show up when I right click an xsd file in the solution explorer. The installation goes smoothly without any glitch but still I am not able to see or use the addin VS 2008. My OS is Vista x64. Any help will be much appreciated. ...

Huge AboutIconData block in add-in file

In my generated .addin files for visual studio, I get really huge chunks of binary data under the AboutIconData property. Can anyone suggest as to why this data keeps on growing with time, and whether I can safely remove it? ...

How to debug a Word Add-in (.wll) in VS 2003

I am trying to attach to Word and set break points in the C++ (MFC) source code that I have just gotten access to. I have never done this before and hope that I have omitted some simple step. So far I have been able to: Compile the source code in VS (this produces .obj files and a .pdb file, but no .wll file which is confusing) Attach ...

Possible To Print 4-Up From Visual Studio?

I got nowhere Googling for this question so if this is a "Google Is Your Friend (GIYF)" question, I apologize in advance. I always print source code duplex to save paper. Is there an add-in for VS (2003) which allows you to print two pages on one side of the paper so I can print 4 pages on one sheet? I think this is called 4-Up prin...

Visual Studio Addin Development - How to resolve the "The process cannot access the file" problem after exiting visual studio?

I'm currently developing a visual studio add-in, however when I close visual studio and shutdown my machine and come back the next day, I cannot build the add-in because it is currently loaded in visual studio. How do i fix this problem so I don't have to manually remove delete and reinstall the add-in every time I wish to debug or chang...

Visual Studio: Is there an incremental search for the entire solution?

I am very fond of the keyboard shortcuts built into Visual Studio. One of my favorites is Ctrl+i, which triggers the incremental search. It jumps over the text in the current document as I fill in the searchword. After the desired searchword is typed, I use F3 to jump through the matches. It works fine, except that is is limited to sear...

SheetBeforeDoubleClick not working from COM Addin

I'm trying to write a COM add in for Excel in C# that disables the ability to double click a cell and then edit it, I want to popup a box saying that editing a cell this way is prohibited and then stop all execution. Looking through the documentation at Microsoft this seems like a very easy task, you create an Application event AppEvent...

Creating a (ClickOnce) setup for VSTO Outlook Add-in

So I created an Outlook Add-in and used the click-once setup to deploy it. The setup runs fine when the user is administrator, but otherwise: no go. Running the setup with "run as..." and logging in as admin works, but than the add-in is installed under the admin, not the current user. The addin doesn't show up in outlook. I tried fo...

What can you do with Microsoft Outlook plugins

I have no experience in plugin development for MS Office. Can anyone tell me what is possible to do with the MS Outlook plugin API. The specific thing I am interested in is to change the way that Outlook displays emails. For example: Can I make a plugin that will show an email conversation thread and color each alternate RE: message in...

Experience with "Add-in Express" tool for streamlining MS Office Add-in development?

Any experiences anyone can share about this tool? ...

.NET Deploying Office 2003 Redistributable Primary Interop Assemblies (o2003pia.msi)

Has anyone out there actually succeeded in creating a prerequisitie for o2003.msi? There are a lot of people out there asking about this, but I cannot find anyone who actually succeeded. I find some extremely complicated solutions where you are required to comple .cpp-files for which the soure may or may not be supplied. I even tried to...

How can I add a custom toolbar button to Internet Explorer?

How can I add a simple toolbar button to IE that gets the current url and redirect to another url? ...

Office (esp. Outlook) addins

We want to develop addins for outlook, word and excel. As of now I am aware of 2 types of solutions. One to go for Shared Add-in (COM based) and other to build VSTO based Add-in. As I am new to this, which would be the better option? (Or if there is 3rd way,please let me know) We are targeting Office 2003 and 2007 both. And I would prefe...

Building a highly modular business application with WPF?

I'm fleshing out a WPF business application in my head and one thing that sparked my interest was how I should handle making it incredibly modular. For example, my main application would simply contain the basics to start the interface, load the modules, connect to the server, etc. These modules, in the form of class libraries, would con...