How to make the toolbox reappear in the IDE after installing VS 2005 beta 2

I have heard from a couple of customers who have had problems getting toolbox to appear when trying to use the designers in the IDE in VS 2005 beta 2.  The customers I have helped so far have all had some previous version of VS 2005 (either beta 1 or a CTP) and removed it prior to installing beta 2.  I wanted to let everyone know a couple of options you have for fixing this problem because the VS 2005 beta cleanup tool only fixes this issue for Visual Basic 2005 Express Edition beta 2 currently.

How do I fix this issue?

This fix has been verified by a customer who contacted me (see this MSDN Forum post for more info) so I recommend using this as long as you feel comfortable using regedit.exe to modify your registry:

  1. From a cmd prompt, run regedit.exe

  2. Go to HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0

  3.  Rename the Profile sub-hive to something else

  4. Close regedit

  5. Relaunch the VS IDE

  6. Select your desired development profile

  7. Rerun the form designer of your choice and verify that the toolbox now appears correctly

Note that the registry hive that you want to use in step 2 above depends on the version of Visual Studio you have installed.  If you have any of the Express Editions installed, you will need to use the following registry hive names in place of the one listed above:

All other versions of VS use the hive listed in step 2 above.

Another possible, less invasive fix (but one that I have not had a chance to fully verify yet) is to launch the VS IDE, choose Tools | Customize from the menu bar and click the Reset button to reset the toolbar.

Why does this happen?!?

The underlying cause is that there is some leftover profile registry keys/values under HKEY_CURRENT_USER\Software\Microsoft\<Product>\8.0.  In general, user data stored in the HKEY_CURRENT_USER hive is not removed during a product uninstall.  But this is also complicated by the fact that this profile data is written by the VS IDE and not by the setup MSI.  Therefore setup does not have any way of knowing that the data is even there and cannot try to uninstall it.  Normally the profile data will not interfere like this, but it appears there was some data written there in previous beta versions that is now incompatible since some of the code for that feature has changed since then.  The most common place I have seen that show up is in VB Express (which is why I added it to the cleanup tool).  In beta 1, the IDE start page showed an HTML file that was installed with the product, but in beta 2 it connects to a web site to show the start page and the local HTML file is no longer installed as a part of the product.  If the registry value is present that points the start page to the local HTML file but that file is not installed, then you see a file not found error where the start page should appear.


Comments (7)
  1. Howard Preece says:

    Good fix – this also sorted out the "lost" home page problem that upgrading created.

  2. Some customers have seen an error dialog launching the Visual Studio IDE after uninstalling VS 2005 beta…

  3. Eva Monsen says:

    I actually used VS 2005 Beta 2 for several weeks before the Toolbox just disappeared one day. Your fix totally worked, thanks! Shouldn’t there be a way to manually view the toolbox? I mean, you can go View->Toolbox, but that only shows the toolbox as a floating or dockable window — there’s no obvious way to turn it into one of those sideways tabs that I prefer. Is there? Anyway, belated thanks for your post.

  4. Hi Eva – I would expect that there should be a way to manually view the toolbox. I am using the RC build and when I create and work with a C# Windows Application there is an item in the View menu labeled Toolbox, and it has the keyboard shortcut Ctrl+Alt+X. I am not sure if this works the same way in beta 2, or if this functionality depends on the type of project that is open in VS.

    If you see behavior in the VS IDE that is inconsistent or confusing, I definitely encourage you to report a bug at

  5. Fab's blog says:

    Apr&#232;s une fermeture un peu &quot;brusque&quot; de mon environnement de d&#233;veloppement, j’ai eu un comportement bizarre…

  6. Dan Ciruli says:

    I’m using VS2005 Professional Edition, and I rely heavily on the toolbox for storing snippets of code (I do lots of demonstrations that involve coding, and I simply drag the code from the toolbox).

    Today my tabs are gone from the toolbox!  I can’t figure out where they went.  I’ve tried a right-click->Show All, but that only shows the standard tabs, not the tabs I’ve added.

    Any idea how I can track these down?

  7. Hi Dan – You should be able to right-click on the toolbox and choose Reset Toolbox to fix this.  Can you try that out and see if it helps?

Comments are closed.

Skip to main content