add-in

Excel: A shape event handler (OnAction) that calls into my .net/shim code

I have a COM addin for Excel that adds a new toolbar/menu to Excel. One of the command reads a file and adds picture to the current worksheet. The pictures when clicked, calls a macro inside an XLA file that calls the method in a .net addin. The problem is that I had to create a .XLA addin just for this call routing because Shapes cann...

Creating SQL Server 2008 Add-Ons: current equivalent of sqlwb.exe

I'm trying to create a simple Add-On for SQL Server 2008; it is simply going to pass a parameter from SQL 2008 to a console application. Although Add-Ons are not specifically supported, according to these articles (1, 2), it is possible in 2005 and I'm assuming also in 2008. However, I've fallen almost at the first hurdle; I can't seem ...

Flexible reporting system with dynamically loaded assemblies

I want to build a flexible reporting system for my application. So far I only have a concept in my head and need some tips on implementation. I'm using Crystal Reports to render reports and I know how to load reports dynamically. Now, the idea is that every report will be packaged as a separate assembly (.dll). The reporting framework w...

Visual Studio 2008 and 2008 SP1 Addin: using EnvDTE90 and EnvDTE90a

Does anyone know the equivalent for doing this in Visual Studio 2008(EnvDTE90) and Visual Studio 2008 SP1(EnvDTE90a)? //this is code for Visual Studio 2005, works great EnvDTE80.DTE2 dte2 = (EnvDTE80.DTE2)System.Runtime.InteropServices.Marshal. GetActiveObject("VisualStudio.DTE.8.0"); foreach (EnvDTE80.Breakpoint2 bp ...

How can an Excel Add-In respond to events in any worksheet?

Our workbooks are server-generated SpreadsheetML, which cannot include any VBA code. Creating native Excel files or Excel 2007 XML files is also not an option, unfortunately. So, I have an Excel Add-In (VBA, not XLL) that each of our users installs to add some extra UDFs, etc. that our workbooks need. This works great, but now I need t...

How to modify source files in Pre-Build... without modifying source files?

Hi, so I'm using Visual Studio 2005 and for my current project I'm building a C# Add-In to handle the weaving of aspects for AspectC++. It's simple enough to gather the aspect and source files and feed them into the aspect compiler, but this generates new (modified) source files. I'm trying to emulate the standard AspectC++ Add-In: htt...

Is there an add-in for VS2008 to manage favourite solutions/projects?

The "Recent Projects" section on the startup page in VS2008 feels pretty useless to me. I'm used to checking out multiple repositories to work on different features. Our repository structure is pretty deep. The File->"Recent Projects" menu does not show enough of the path for me to figure out which project it is going to open. The clos...

Visual Studio Add-in QueryStatus() calls

I wonder if anyone can tell me why does QueryStatus() method get called so many times when command is being evaluated for execution? In my case it gets called several times (at least 9) with at least one vsCommandStatusTextWantedName and many more vsCommandStatusTextWantedNone, but never with vsCommandStatusTextWantedStatus? So lots of ...

How do i save code changes to an Excel VBA add-in?

I've made an add-in for Excel in VBA and now I need to make changes to the code, but the file won't save. I open the .xlam file, I make the changes, ctrl-S to save with no errors popping up, close down. But when I reopen, none of the change I made are there. What gives? is there some special way I have to save an add-in to make change...

Using VCCLCompilerTool with generated C++ source files.

In a Visual Studio 2005 Add-In, how would one specify that a new set of generated C++ source files should be compiled instead of the original source files? Since the two exist in separate directories, I assume that there's some way to change the source directory from the VCCLCompilerTool interface, but I haven't been able to figure out ...

Any good spell checkers for source code?

I am constantly putting typos in my projects (google has officially ruined my spelling). Does anybody know of a plugin for VS or a general spell checker that will check string values that are in quotation marks (double and single), preferably free? ...

Outlook 2003 add-in stops loading

I created an Outlook 2003 add-in using C# 2.0 in visual studio 2005. This add-in adds a button to the toolbar when someone is replying to or creating a new email. When the user clicks on the button to send an email, the code records this information to the database. This plug-in is used by our sales and marketing teams. IT tells me that ...

How to: change source directory within a VS2005 Add-In?

So, I'm writing a C# Add-In that generates C++ source files by weaving aspects into them using AspectC++. Now, I'd like to take those generated files and send them to the compiler instead of the original source... How would I do this within the Add-In? I've tried looking at the VCCLCompilerTool, VCCodeModel, and similar interfaces for...

Total beginner looking for tutorials programming outlook add ins in c++

hello all im total beginner in outlook programming and windows GUI programming in general but have lots of years experience in c++ programming in general ( none GUI ) i need to develop outlook plug-in . and my question is where to start ? what i need to know to let me start can you please give me some useful links to learn ? Thanks all ...

InfoPath add-in help - Saving a copy of the active form template, showing custom button in design mode, calling method in form solution

I'm trying to build an InfoPath add-in to allow template editors (as opposed to end users) to preview the form with sample data populated. First, a little background on our environment. We have a custom process that connects to MOSS, downloads the appropriate datasource assemblies for a given form, and invokes them to load data from th...

Outlook Com Add-In Deployment & Extensibility Issue

Hi All, I'm a developer writing an add-in for Outlook2003/2007 using C#, Visual Studio 2005. I'm also using the COM add-in wizard (not using VSTO, I have a Connect.cs). The program successfully runs with visual studio installed on my machine but when I try to deploy the software I am getting weird behavior. I have a logging system set ...

how to add a new modulo position on a joomla template?

hi there, i'm using a joomla template called decayed and it doesn't have the right position, only the left one and nothing more. i would like to add a right and a button positions on that template. how can i do it? cheers ...

How can I activate an Excel add-in from Perl or the command line?

(Please forgive my ignorance on Excel add-ins, and feel free to correct my teminology where appropriate.) I have an Excel add-in that is used regularly. This add-in inserts a toolbar with a number of buttons. I want to automate the task of opening a spreadsheet in Excel and then "clicking" one of those buttons. In other words, I want...

How do I hide Visual Studio Add-in disabled commands

I created a Visual Studio Add-in that adds additional commands (four of them) to the top of Code Window context menu. I'm using permanent UI approach. Depending on the cursor position within code only one of the commands would be visible and thus selectable. Other three would be hidden. I set supported and enabled status within QuerySta...

.NET Add-in to get Project that is being built

Hello. I've created a .NET Add-in that is supposed to do something when a project is being built. I know there are several ways to build a .NET project a) Hitting F5 button b) From Build menu c) From Debug menu ( by debug-ing ) d) By building the solution ( builds the project checked for 'Build' in solution properties ) e) By right-clic...