MZ-Tools Articles Series: HOWTO: Execute a command by Guid and Id from a Visual Studio add-in

While most Visual Studio commands have a name and you can execute them using DTE.ExecuteCommand, there are cases where commands don't have a name, just the Guid and Id that truly identifies them, For example, the command to filter the Task List of Visual Studio 2005/2008 by its combobox (my next article will be about this). This article explains how to get the Guids and IDs of Visual Studio commands, and how to execute a command from the automation model (EnvDTE) given its Guid and Id:

HOWTO: Execute a command by Guid and Id from a Visual Studio add-in
http://www.mztools.com/articles/2008/MZ2008013.aspx

Published Tue, May 13 2008 3:08 by carlosq

Comments

# Visual Studio Links #27

My latest in a series of the weekly, or more often, summary of interesting links I come across related to Visual Studio. Carlos Quintero wrote an article explaining how to open the web browser and navigate to a page from a Visual Studio add-in or macro

Tuesday, May 13, 2008 8:11 AM by Visual Studio Hacks