Visual Studio 2005
(1)
Application
(1)
Control
(1)
Choose
(1)
Windows
(1)
Dec
(1)
Reproduces
(1)
Inhibits
(1)
Custom Control not appearing in Toolbox
Asked By JTC^..^
29-Dec-07 12:40 PM
When I create a custom control inside my Windows Application project
it does not appear in the toolbox. I'm using Visual Studio 2005 (Team
System for Developers), so this should appear automatically, right?
I've compiled the application and selected show all items, but the
controls do not appear.
If I create an external Windows Control library and import the
controls they appear. I also tried resetting the toolbox, then
creating a new control. As the behaviour of resetting the toolbox is
to remove custom controls, could this now be my problem? Either way,
is there a setting or something I'm missing so Visual Studio will show
the controls automatically?
Thanks
Custom Control not appearing in Toolbox
Asked By Peter Duniho
28-Dec-07 01:28 PM

Yes. Assuming the control is properly referenced, either by being an
imported library or by being part of a project within the solution itself,
it should show up in the Toolbox.
I don't know off-hand what the problem might be. I suspect there's some
sort of error in the implementation of the control. One way to test that
would be to build the exact control as a library, and import it into a
completely different solution's project and see if it shows up there. I
would guess that it won't.
If it doesn't, then you need to figure out what's wrong with the control
implementation. You may want to post a _concise_ but complete sample of
code that reproduces the problem, since otherwise it's not really possible
for anyone to comment specifically on what's wrong.
If the control does show up when imported into a different solution, then
I really don't know. It seems likely that that means there's something
about the solution in which it's contained that is somehow suppressing it,
but what that could be I have no idea.
Another test you might do is to create a brand new empty solution, and add
a new Custom Control class to the solution, to see if it shows up in the
toolbox. That way you know for sure there's nothing that you might have
added to the class that would cause a problem. If it doesn't show up in
that scenario, there's definitely something odd going on with VS. If it
does show up in that scenario, that's further support for the theory that
you've got something particularly wrong in the custom control that's not
showing up, probably related to code you added yourself.
Finally, I suppose it's possible that there's some user setting that
inhibits controls from showing up in the Toolbox, but what that might be I
don't know, and it seems odd that it would apply only to a control from
within the same solution.
Pete
Getting Custom Control into the Toolbox
allan christainson replied to JTC^..^
24-Mar-10 02:47 PM
To use a custom control from the Toolbox I had to select a category (general) and right click. This brought up a menu where I selected "Choose Items...". From there I browsed to the DLL where my control was found.
PRJ0002 : Error result -1073741819 returned from 'C: \ Program Files \ Microsoft Visual Studio 8 \ VC \ bin \ mt.exe'. The above error occurs when I attempt to build the Release configuration of my VC++2005 Win 32 DLL. The DEBUG release compiles and builds without it is an error that relates to BETA versions of Visual Studio but I have never had any Betas installed. I do, however, have a full copy of Visual Studio 6 installed on my development machine as well as VS2005 nologo / c / TP / errorReport:prompt I have re-installed VS 2005 SP1 (in the hope of "replacing" a "corrupt" mt.exe working on Windows XP Professional Service Pack 2. My VS 2005 About Box Info appears below. Can anyone from Microsoft (or this problem with the Manifest Tool executable? Thanks, Robert Microsoft Visual Studio 2005 Version 8.0.50727.762 (SP.050727-7600
NET Framework Visual Studio 2005 in CPU Loop I am trying to create an application in VB.Net using Visual Studio 2005. Every now and then Visual Studio 2005 goes into a hard CPU loop. The devenv.exe is
NET Framework SQL Server 2005 and Visual Studio 2005 Express Version Installation nightmare Well good old Bill Gates has again. Microsoft couldnt have made the installation of SQL Server 2005 Expess and Visual Studio 2005 Express any more confusing and painfull if they had tried. Why is the visual Studio shell bundled with SQL Server Advanced toolkit (I'm referring
NET Framework MS Visual Studio 2005 Pro Ed Hi! I downloaded MS Visual Web Developer 2005 Express Edition, MS .NET Framework SDK v2.0, and MS SQL Server 2005. Subsequently, I bought MS Visual Studio 2005 Professional Edition. 1) Are both the MS Visual Web Developer 2005 Express Edition and the MS Visual Studio
NET Framework Visual Studio 2005 in CPU Loop Windows XP Pro SP3 with all critical Pro Office 2002 Pro Office 2003 Pro Office 2007 Ultimate Visual Studio 6 Visual Studio 2005 Professional Visual Studio 2008 Professional All of the above were installed in order
NET Framework Visual STUDIO 2005 is slow I have migrated my web asp (VB) application to my windows 2003 server, but now when i open the solutuion whit Visual Studio , Visual Studio is very low to open it and to debug it for us to identify the root cause. Is your original application coded in Asp or Asp.net? When you migrate it asp.net. 2) When i migrate from 2003 .net to 2005 .net i only migrate the code. 3) The slowness happen
NET Framework Visual Studio freezes after Project Building. . . . . . . . . . Hi, i am using visual studio 2005 and 2008. Recently i upgraded my Class libraries, Windows control libraries and Console application to visual studio 2008. If i start a project build in visual studio 2008 it will start build and will finish the
NET Framework Problem getting web application project support with VS 2005 I have VS 2005 professional. Here is the version info: Microsoft Visual Studio 2005 Version 8.0.50727.762 (SP .050727-7600 2005 Microsoft Corporation. All rights reserved. When I try to create a new project, I don't have a web application project option. In the New Project window, I select Visual C# under Project types, and on the right side, I only have the following installed templates: Windows Application Windows Control Library Crystal Reports Application Class Library Console Application