Browse by Tags

Outlook macros for processing e-mail
24 July 07 05:48 PM | john | 0 Comments   
I don't write many Outlook macros primarily because I don't have time to learn the CDO document model. But once upon a time I wrote a couple of macros that have become invaluable to me ever since. Some background. I process my e-mail roughly like this: Read More...
Filed under: , , ,
Listing All Solution Project Properties
12 July 07 10:04 PM | john | 2 Comments   
Don't ask why, but I needed to list all the properties of all the projects in a solution. Here's the macro that did it for me: Sub ListProjectProperties() Dim pane As EnvDTE.OutputWindowPane pane = Utilities.GetOutputWindowPane( "Output" ) Dim projects Read More...
Filed under: , ,
VS Macro to insert TODO
04 May 07 04:59 PM | john | 2 Comments   
Here's another useful VS macro. When I write code there are always weird edge cases that I think of while so I like to liberally sprinkle // TODO: comments around. When you do this though you should always put in your alias and the date. That way someone Read More...
Filed under: , , , , ,
Playing with VS macros: Getting the PrimaryOutput
11 February 07 04:00 PM | john | 2 Comments   
Some things that should be easy are still much harder than they should be. One of those things is writing macros and add-ins for Visual Studio. The object hierachy is (a) obfuscated by a COM/managed interop mess (b) not logically or consistently laid Read More...
VS Macro to Insert GUIDs
03 January 07 03:56 AM | admin | 2 Comments   
One of the most useful macros I ever wrote in VS was but a single line. All it does is insert a GUID at the current selection point. It was so useful I wrote it twice; once to insert lowercase and once to insert uppercase GUIDs. Here it is: Imports System Read More...
Filed under: , ,
Visual Studio Macro Balloon
17 January 06 09:10 PM | john | 0 Comments   
I've always loved editors with built in macro languages. Once you have macro control of every facet of the editor you can pull off some really cool and time saving tricks. I gave up macros back in the early 90's for the graphical environment of Microsoft Read More...