KnowDotNet NetRefactor

Add-Ins/Macros

Add-Ins and macros can be used to add extra functionality to the Visual Studio .NET IDE.


Articles  

Using the ClipBoard in a Macro -
How do I access the Clipboard in a Macro? Just using GetData and SetDataObject does not work. This article will show you how.     more...

Load VS2005 Add-in In VS2008 -
How do I get a VS2005 Addin to work in VS2008? As always, when Microsoft releases a new version of Visual Studio, one of the first things to go down is an Add-in.     more...

Convert Stored Proc to Dynamic SQL -
How do I use the Clipboard in a Macro? It does not appear to work. And I want to convert a Stored Procedure to Dynamic SQL.    more...

Deploying VS2005 Add-In (#2) -
Is there an easy way to tell Visual Studio 2005 where to look for your .addin file? Yes, you can create a registry entry to do it.     more...

Detect Compiler Errors in Application From an Add-In -
How can I determine if an application has errors from an add-in? Read the items in the Error List.     more...

Generate Large Blocks of Code With Macros -
Would you like to be able to generate a Class with hundreds of lines of Bug-Free code without buying a third-party tool? This article will show you how to do it with a Macro.    more...

Accessing Values From Tools Options Window With An Add-in -
How do I access the formatting options of the TextEditor in an add-in? How do I know the values to use in referencing DTE.Properties?    more...

Error Installing VS2005 Add-In With Vista -
Having trouble installing VS 2005 Add-in that runs under XP but not under Vista? Run as Administrator seems to do the trick.    more...

Convert VB6 to VB.NET -
Macros, in combination with Regular Expressions form a powerful tool set for generating code. This article will generate a Input Line Object from a VB6 Type Object.    more...

Macros Will Save You Time -
Have you learned the trick of creating a macro in a couple of minutes to do some repetitive task, even if you only use the macro once? This article will hopefully cause you to remember the power of macros so that you will get in the habit of thinking of them as a consistent way to save time in making code modifications.    more...


plus 40 more...

Code  

Multi-Threadiing in an Add-in to Solve Timing Issues -
Why would I ever need to use threading in an add-in? Better yet, how do I get the Code Window for a Class or Form, that was just added to the current project, to open and become the active window in the Visual Studio IDE?     more...

Writing Add-Ins for Visual Studio .NET
Writing Add-ins for Visual Studio .NET
by Les Smith
Apress Publishing