add-in

how to run add-in on different system?

I have one shared add-in created in visual Studio 2005. This Add-in is worked on my system fine but if i tried to run this add-in on different system then it is not working. I found the problem behinde this but is it correct or not. In my view the problem is when we create add-in through visual studio then the entry of this add-in is int...

creating addin setup project for all users VS 2008

I developed addin for VS 2008 which is used by many users. I have to deploy it this address "C:\Documents and Settings\All Users\Application Data\Microsoft\MSEnvShared\Addins". Although I changed parameters for setup properties, wizard deploy binaries to Program Files[Manufacturer][Product Name]. How can I do it? ...

Use Excel VBA to fill out and submit Google Docs form

I'm trying to do something like this post but with Excel VBA. I would like to submit a response on a google docs form each time a button is pressed on an Excel add-in. The addin will be an XLA file and written in VBA. I want to be able to collect what features the users are using. If someone has a better solution, I'm open. ---Edit---...

How do I add custom icons to custom Ribbon tab in Word?

I am trying to add custom icons to a Shared Add-in for Microsoft Word. The Shared Add-in uses XML to add a tab to Word's Ribbon. I am following the guidance of this document on MSDN: I have followed the steps described in the document for adding the image as a Resource. When I run the installer, and open Word the icons do not show up. ...

how to install my addin.exe with myproject.exe?

i created shared addin in visual studio 2005 using c#.net now i want to add this addin setup to my another project that means my aim is when i run myproject.exe then addin is also intalled through that exe. ...

Text Color in PowerPoint Add-in

Does anyone know how to change the color of a selected range of text within a powerpoint add-in using C#? ...

Create named bookmark which persist in .suo file

Hello everyone, I'm working on a plug-in which provides easy navigation to some code lines within VS, and the lines I have firstly identified may be invalidated by user updates to the code, (ex. I firstly have line number 3 of HelloWorld class and user inserts two more line before line 3 making my interested line #5). So I'm planning to...

Is there any addin for VisualStudio debugging to see DataTable content in a nice way?

Hi, Do you know if there is any add-in for Visual Studio, that shows the content of any DataTable in a nice way when I hover on the relevant variable in Debugging? ...

PowerPoint ExportAsFixedFormat exception

Hello, i have this code in a powerpoint addin but it's not working and giving me an exception. The exception says: "Value does not fall within expected range". Any ideas what i'm doing wrong? this.Application.ActivePresentation.ExportAsFixedFormat(path, PpFixedFormatType.ppFixedFormatTypeXPS, ...

Where should addins for Office 2010 put their Options GUI? (and how?)

Up until Office 2007 it was common for addins to add a tab page to the main Options dialog (Tools|Options) where users could configure the addin's settings. While this essentially still works in Office 2010 the way it is implemented seems like a backwards-compatibility clutch similar to the "COM-Addins" tab on the new ribbon where button...

How to add an existing VC6 project in to a workspace from add-in or VBS macro.

I want to add an existing VC6 project in to a workspace from add-in or VBS macro. There is no function to insert an existing project in Developer Studio's Application object. So I tried to add a new project (with the same name of existing project) using Application's AddProject method and then overwrite the project file created with my e...

Find an IVsTextView or IWpfTextView for a given ProjectItem, in VS 2010 RC extension

I have the ProjectItem, and want to get the IWPFTextView that is associated with it, if any. I have tried to get an IVsTextManager, and then iterate through the views, but iVsTextManager.EnumViews always returns nothing. Here is what I've got so far: var txtMgr = (IVsTextManager)Package.GetGlobalService(typeof(SVsTextManager)); if (t...

Visual Studio Add-In - Get Interface Methods from WCF Programmatically

Info: Visual Studio 2010, C# I am looking at the following functionality via a Visual Studio Add-in User has a Class Project and clicks a button (This bit is fine) WCF Project is automatically created in current solution (This bit is fine) Service Reference is added to the current Project I can create a working WCF Project and if I ...

Visual Studio 2008 add-in problem with server explorer

Hi guys, I wonder how i can add a context menu item to the stored procedure tree node of my databases, in order to autogenerate some code. My troubles are in get the context menu of stored procedure node and add to it a item "Generate code". If you could provide a brief example, i'm using UIHierarchy but no luck! Any help appreciated!!...

How do I create an installer for Visual Studio 2008 addin?

I have done an addin (in C#) for visual studio, (almost) ready to deploy it. But I don't know how to do an installer for that. I saw the link here but I don't know where to go from there... This seemed to be useful, but I don't understand where to start, put which code snippet where... Can someone guide me from the basics? Can't find ...

Suppress excel add-in confirmation message

I am accessing excel with C++ and add-ins are being loaded. Everything we load the add-in programatically, the user has to click ok when the add-in is unloaded and loaded. Some users have complained that this can be as much as 20 times for a "run." How can I programatically suppress the add-in confirmation messages? NOTE: excelApp...

SSMS 2008 Add-In - Execute Query

I'm loading a sql script up to an SSMS 2008 add-in like so: ' create a new blank document ServiceCache.ScriptFactory.CreateNewBlankScript(Microsoft.SqlServer.Management.UI.VSIntegration.Editors.ScriptType.Sql) ' insert SQL statement to the blank document Dim doc As EnvDTE.TextDocument = CType(Service...

Visual Studio Add-in. Xml extender.

Gents, I have xml files with such structure in my solution: <control refFile="MyControl.xml"/> So I want to open MyControl.xml by just Ctrl+Left mouse click on "MyControl.xml". I need to develop an add-in for VS 2008/2010 (extender for XML-editor). Can you please suggest resources which can help me to do it? I already know this site...

"preprocess current file" addin for Visual Studio? (C++ )

I realize that Visual Studio has the "/P" option to generate preprocessed files, but it's extremely inconvenient. I'm looking for an addin that allows you to right-click on a file and select "view preprocessed" - or any similar solution that would basically preprocess the currently-open file (with the appropriate options from the current...

VSTO MS Word 2003 add-in causes error "Word experienced a serious error the last time the add-in 'XYZ' was opened"

An add-in we make is causing the above problem on a Windows 2003 server, without any obvious cause. Both Word and the add-in appear to work correctly yet the message comes up and Word wants to disable the add-in. I have run with VSTO_SUPPRESSDISPLAYALERTS=0 and no messages come up. On my machine (XP) the problem does not occur. Any sug...