Solved

c# UserControl is not added to toolbox of VS2010?

Posted on 2011-03-02
3
1,026 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
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 use and create keystrokes in Netbeans IDE 8.0 for Windows.

749 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