Solved

c# UserControl is not added to toolbox of VS2010?

Posted on 2011-03-02
3
1,029 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Enroll in June's Course of the Month

June's Course of the Month is now available! Every 10 seconds, a consumer gets hit with ransomware. Refresh your knowledge of ransomware best practices by enrolling in this month's complimentary course for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

This article describes a simple method to resize a control at runtime.  It includes ready-to-use source code and a complete sample demonstration application.  We'll also talk about C# Extension Methods. Introduction In one of my applications…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

724 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