Solved

c# UserControl is not added to toolbox of VS2010?

Posted on 2011-03-02
3
1,020 Views
Last Modified: 2013-12-14
Hi there;

I have some user controls classes in c# but the controls are not added to the toolbox of VS2010 even autopopulate is enabled in VS. Some of the controls does not have .resx files. Is it a problem?
The project is a conversion from VS2005. What to do?

Kind regards.
0
Comment
Question by:jazzIIIlove
3 Comments
 
LVL 75

Expert Comment

by:käµfm³d 👽
ID: 35023426
Have you tried building the project with the controls prior to trying to add them to a project?
0
 
LVL 29

Accepted Solution

by:
Paul Jackson earned 500 total points
ID: 35023514
right-click anywhere on the toolbox and click choose items, then click the Browse button, navigate to the DLL that was created when you built your control
0
 
LVL 12

Author Comment

by:jazzIIIlove
ID: 35024603
>>Have you tried building the project with the controls prior to trying to add them to a project?
yes...i had...

>>right-click anywhere on the toolbox and click choose items, then click the Browse button, navigate to >>the DLL that was created when you built your control
I couldn't find the dll of usercintrols...they have the extension of .cs and having the user control icon in my solution explorer. How can I have their dlls? There is no main in those classes.

Kind regards.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now