Wednesday, December 19, 2007

Tip: Missing controls in Toolbox - Visual Studio 2008

I encountered a problem today when I uninstalled my Visual Studio 2008 Beta 2 and then installed the RTM version of Visual Studio 2008 Professional.

When I created a Windows Mobile project, the controls in Toolbox were missing. In place of the usual controls is a tab labelled "#13119". The usual remedy of right-clicking the Toolbox and then selecting Reset Toolbox did not help.

After some searching of Visual Studio folders, I finally found the solution. You need to navigate to the following folder:

C:\Documents and Settings\\Local Settings\Application Data\Microsoft\VisualStudio\9.0

And within this folder are some hidden files. Simply remove the following files:

"toolbox.tbd", "toolboxIndex.tbd", "toolbox_reset.tbd", "toolboxIndex_reset.tbd"

Then restart Visual Studio 2008. Your controls should now come back up! ;-)

Click here for more mobile development tutorials!

8 comments:

Stefan Barthel said...

Thanks for the tip, finally the missing Mobile Web Forms controls are available!

s said...

Thanks for the tip. It helped me.

Unknown said...

thanks for your help. Its really works for me after 3 days of R&D in this problem.

Chintan S said...

Thank you. Its Really Work for me.

Ramin said...

Very simple and fast.
Thanks

Claudiu Farcas said...

thx man .. it really works .. you save my day

marcelo. said...

It worked only half way for me.
After deletion of mentioned files, the toolbox have all native controls, and someone I added.
But, when I tried to add more new controls, VS shutdown and an event is written telling about a .NET runtime error. MS dont tell anything regarding this error.
Does someone knows this question?
TIA
Marcelo

Jeff Frantz said...

Wow. Thanks man!