"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]
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
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
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. 