"No usable controls"

I have created a C# project in VS 2005 of the type:

A project for creating a .NET Compact Framework 2.0 forms application for Pocket PC 2003 and later.

I get the skin and the window, but I can't add any controls. There are NO controls in the toolbox. If I try right click and choose Items..., I see a whole list of checked items, but still nothing in the toolbox itself.

I have imported a file from VS 2003 that already contains some controls. I can click on them in the form and change their properties, I can compile, debug and they work as expected.

I just can't add any new controls to my forms because nothing is appearing in the tool box.

If I create a new Windows C# project, the tool box is fine. I get the form and all of the tools in the toolbox. It appears to be an issue with a PocketPC targeted project.

PLEASE HELP ASAP

[848 byte] By [RPalmer] at [2007-12-22]
# 1
Do you have earlier version of VS (maybe VS2005 beta?) installed on the same machine?
Aarthi_MSFT at 2007-8-30 > top of Msdn Tech,Smart Device Development,Smart Devices VB and C# Projects...
# 2

Hi,

Does your application have multiple forms? Do you see that the toolbox has no controls when you open other forms?

One side note: If you have tiled your windows (within VS) and if the focus is on the code window, you will not see any controls in the tool box.

Regards,

Jagadisk

Jagadisk_MSFT at 2007-8-30 > top of Msdn Tech,Smart Device Development,Smart Devices VB and C# Projects...
# 3
I have VS 2003 installed (and the tool box tools appear just fine in it).

Is there a conflict between the two? How do I resolve it?

RPalmer at 2007-8-30 > top of Msdn Tech,Smart Device Development,Smart Devices VB and C# Projects...
# 4
There are multiple forms and none of the forms cause the toolbox tools to appear accessible. I don't work in windowed mode, only tabbed mode. I know I need to have the [Design] as the active window for the toolbox to appear with tools.
RPalmer at 2007-8-30 > top of Msdn Tech,Smart Device Development,Smart Devices VB and C# Projects...
# 5
I'm going to assume that there was no VS 2005 beta installed on your machine in the past. If so, you may need to clean up that uninstallation.

Try running devenv.exe /setup /resetuserdata. This should initialize your toolbox again and fix this

SriramKrishnanMSFT at 2007-8-30 > top of Msdn Tech,Smart Device Development,Smart Devices VB and C# Projects...
# 6
Hey, that did the trick (I selected C# as my primary dev type when I relaunched 2005).

Only issue with this approach is it's kind of like the "Reinstall Windows when something doesn't work" approach - It blew away all of my history and preferences!! I have to go back and set all my fonts, colors, etc. back to the way I like them.

RPalmer at 2007-8-30 > top of Msdn Tech,Smart Device Development,Smart Devices VB and C# Projects...