Yesterday, I installed Visual Studio 2005 Professional on my laptop. Together, I installed new MSDN Library too. After some minutes of playing with my new tools I noticed a very annoying thing in the new MSDN viewer. Everytime I open the viewer it displays its Start page (or default page, whatever).
Then, when I select some topic from Content panel on the left it opens in new tab but the previous tab with MSDN Start page still exist, so I have to close it manually. Yes, I said “I have to” because I like to work in clean enviroment without all those useless things around. So, the Start page is annoying, and no discussion about it :-)
So, I decided to get rid of it. First, I tried to find if there are any settings in Tools -> Options which I could adjust to turn off the Start page but unfortunately there aren’t any. Or may be I was looking in wrong place? Whatever, I started to find some less clickable way to turn it off. I investigated shortcuts content in the Start Menu as well as what command line parameters I can feed MSDN viewer executable with. By default, it can be found here:
C:\\Program Files\\Common Files\\Microsoft Shared\\Help 8\\dexplore.exe
The solution is very simple:
- Click with mouse right-button on the MSDN Library for Visual Studio 2005 shortcut and open Properties dialog box.
- Go to Target box and you will see following line:
"C:\\Program Files\\Common Files\\Microsoft Shared\\Help 8\\dexplore.exe" /helpcol ms-help://MS.MSDNQTR.v80.en /LaunchNamedUrlTopic DefaultPage
- Remove last switch: /LaunchNamedUrlTopic DefaultPage
- Make sure that Target path looks like this:
"C:\\Program Files\\Common Files\\Microsoft Shared\\Help 8\\dexplore.exe" /helpcol ms-help://MS.MSDNQTR.v80.en
- Click OK button to close Properties dialog box.
Now, launch MSDN Library for Visual Studio 2005 again using just edited shortcut. You should see MSDN Library viewer without any page loaded.