Visual Studio 2008: Close Start Page on Solution Load

by jrose 7/22/2010 5:24:00 AM

Visual Studio 2010 provides a check box at the bottom of the start page that allows the option to automatically close the start page when a solution is loaded.

However, Visual Studio 2008 does not make it quite as easy.  One solution is to open the Macro Editor (Alt + F11) and add the following code inside of MyMacros -> EnvironmentEvents:

Private Sub SolutionEvents_Opened() Handles SolutionEvents.Opened
    If DTE.ActiveWindow.Caption = "Start Page" Then
        DTE.ActiveWindow.Close()
    End If
End Sub

Tags: , ,

Powered by BlogEngine.NET 1.5.0.7
Theme by Mads Kristensen

About the author

Name of author Author name
Something about me and what I do.

E-mail me Send mail

Calendar

<<  November 2017  >>
MoTuWeThFrSaSu
303112345
6789101112
13141516171819
20212223242526
27282930123
45678910

View posts in large calendar

Recent comments

Tags

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2017

Sign in