Common Environment Object Model Examples
Visual Studio 2010
The following examples demonstrate code that uses elements that are shared among all Visual Studio programming languages.
Example | Description |
|---|---|
Demonstrates usage of the EditPoint object. | |
Demonstrates how to create a window configuration. | |
Demonstrates how to select a window configuration. |
See Also
-
HOWTO: Manipulating controls of Windows forms from Visual Studio .NET add-ins.
-
HOWTO: Changing the source code of templates used by Visual Studio .NET wizards.
-
HOWTO: Guessing the name of a command bar to add a custom menu entry in Visual Studio .NET add-ins.
-
HOWTO: Add a popup command bar to the context menu of a code window of Visual Studio .NET.
-
HOWTO: Getting the "View" command bar of Visual Studio .NET from an add-in.
-
HOWTO: Removing commands and UI elements during Visual Studio .NET add-in uninstallation.
-
HOWTO: Adding buttons, commandbars and toolbars to Visual Studio .NET from an add-in.
-
HOWTO: Getting IDesignerHost and IHTMLDocument of WebForms from a Visual Studio .NET add-in.
-
HOWTO: Automating Visual Studio .NET from outside the IDE.
-
HOWTO: Capturing commands events from Visual Studio .NET add-ins.
-
HOWTO: Creating custom pictures for Visual Studio .NET add-ins commands, buttons and toolwindows.
-
HOWTO: Getting properties from the DTE.Properties collection of Visual Studio .NET.
-
HOWTO: Getting Project and ProjectItem events from a Visual Studio .NET add-in.
-
HOWTO: Canceling a build from a Visual Studio .NET add-in.
-
HOWTO: Getting information specific to VB.NET and C# projects from an add-in or macro.
-
HOWTO: Detect if Visual Studio .NET is installed in a Visual Studio Setup package for an add-in.
-
HOWTO: Get the selected text from a Visual Studio .NET macro or add-in.
-
HOWTO: Get the language of a project or file from a Visual Studio .NET macro or add-in.
-
HOWTO: Navigate the files of a solution from a Visual Studio .NET macro or add-in.
-
HOWTO: Make the shim control of Visual Studio .NET add-ins compatible with UNICODE.
-
HOWTO: Create a dockable toolwindow from a Visual Studio .NET add-in.
-
HOWTO: Navigate the code elements of a file from a Visual Studio .NET macro or add-in.
-
HOWTO: Get the code element at the cursor from a Visual Studio .NET macro or add-in.
-
HOWTO: Know the actual type behind a System.__ComObject type returned by an .Object property.
-
HOWTO: Reset a Visual Studio add-in
-
HOWTO: Get the programmable inner object of a toolwindow
-
HOWTO: Add a control to a Windows form from a Visual Studio add-in
-
HOWTO: Get rid of a Visual Studio add-in
-
HOWTO: Understanding toolwindow states in Visual Studio
-
HOWTO: Locate commandbars in international versions of Visual Studio
-
HOWTO: Create command names without ".Connect" in Visual Studio add-ins
-
HOWTO: Add a custom assembly to the Add References dialog of Visual Studio macros editor
-
HOWTO: Troubleshooting Visual Studio and Office add-ins
-
HOWTO: Using the Choose Data Source dialog of Visual Studio 2005 from your own code
-
HOWTO: Reference a Visual Studio assembly in the GAC from an add-in
-
HOWTO: Interact with a source code control (SCC) provider from a Visual Studio add-in
-
HOWTO: Guess the type of a Visual Studio project from an add-in or macro
-
HOWTO: Get a Visual Studio service from an add-in
-
HOWTO: Get the project flavor (subtype) of a Visual Studio project from an add-in
-
HOWTO: Guess the names of a Properties collection from a Visual Studio add-in or macro
-
HOWTO: Get data sources, data providers and data connections from a Visual Studio 2005 add-in
-
HOWTO: Initializing new events in Visual Studio macros
-
HOWTO: Guessing the IDE mode (design, debug or run-time) from a Visual Studio add-in or macro
-
HOWTO: Create a checked/unchecked command in a Visual Studio add-in
-
HOWTO: Use the IVsMonitorSelection interface from a Visual Studio add-in
-
HOWTO: Controlling the state of command in a Visual Studio add-in
-
HOWTO: Get an EnvDTE.Project object from its project unique name
-
HOWTO: Manipulate a code or form designer file from a Visual Studio add-in
-
HOWTO: Performing some action before or after a build from a Visual Studio macro or add-in
-
HOWTO: Use the system font in dialogs and toolwindows of a Visual Studio add-in
-
HOWTO: Detect installed Visual Studio editions, packages or service packs
-
HOWTO: Use correctly the OnConnection method of a Visual Studio add-in
-
HOWTO: Guess if a project configuration is Debug or Release from a Visual Studio add-in or macro
-
HOWTO: Add an event handler from a Visual Studio add-in
-
HOWTO: Get the text editor font and colors information in a Visual Studio add-in
-
HOWTO: Create a setup for a Visual Studio 2005 / 2008 add-in using Inno Setup
-
HOWTO: Design a Visual Studio add-in to install and run on Windows Vista
-
HOWTO: Open the Web Browser and navigate to a page from a Visual Studio add-in or macro.
-
HOWTO: Execute a command by Guid and Id from a Visual Studio add-in.
-
HOWTO: Add a filtered task with navigation to the Task List from a Visual Studio add-in
-
HOWTO: Get the target .NET Framework of a Visual Studio 2008 project from a Visual Studio add-in or macro
-
HOWTO: Handling buttons and toolbars user customizations from a Visual Studio add-in
-
HOWTO: Get Microsoft Office bitmaps for Visual Studio add-ins
-
HOWTO: Retrieve the Command that created a CommandBarControl from a Visual Studio add-in or macro
-
HOWTO: Add an error with navigation to the Error List from a Visual Studio add-in
- HOWTO: Get an OutputWindowPane to output some string from a Visual Studio add-in or macro
- 4/25/2011
- Carlos J. Quintero