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

<<  April 2018  >>
MoTuWeThFrSaSu
2627282930311
2345678
9101112131415
16171819202122
23242526272829
30123456

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 2018

Sign in