Solved

c# UserControl is not added to toolbox of VS2010?

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

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Summary: Persistence is the capability of an application to store the state of objects and recover it when necessary. This article compares the two common types of serialization in aspects of data access, readability, and runtime cost. A ready-to…
We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.

744 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

13 Experts available now in Live!

Get 1:1 Help Now