473,548 Members | 2,593 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to remove unused components in my user control

Dear all,

I write my own components for my project and add them in "My User
Control" under the toolbar. Some time later, I make some other new
components into it and want to use them in my application. Thus I rebuild
the "component" project again, but I can't find them in my "applicatio n"
project. Therefore, I choose my "component" project dll file again in
"Add/Remove Item" from "My User Control". This time, I not only see my new
components in ".Net Framework Components" page, but also find duplicated
components that I built in first time. They're exactly the same except the
version number follow with the assembly name. Although I can check out the
tick in the ".Net Framework Components" list such that it can't see the
components I built last time in "my user control", I can still see them from
the selection list. I'm afraid if I keep doing this, it'll make lot of
duplicated components in the list. I'm new in vb.net. Anyone could help?
Thanks

Best Rdgs
Ellis
Nov 21 '05 #1
1 2691
Got the solultion now, Thanks

"Ellis Yu" <el******@trans field.com> wrote in message
news:uC******** ******@TK2MSFTN GP14.phx.gbl...
Dear all,

I write my own components for my project and add them in "My User
Control" under the toolbar. Some time later, I make some other new
components into it and want to use them in my application. Thus I rebuild
the "component" project again, but I can't find them in my "applicatio n"
project. Therefore, I choose my "component" project dll file again in
"Add/Remove Item" from "My User Control". This time, I not only see my new
components in ".Net Framework Components" page, but also find duplicated
components that I built in first time. They're exactly the same except the
version number follow with the assembly name. Although I can check out the
tick in the ".Net Framework Components" list such that it can't see the
components I built last time in "my user control", I can still see them from the selection list. I'm afraid if I keep doing this, it'll make lot of
duplicated components in the list. I'm new in vb.net. Anyone could help?
Thanks

Best Rdgs
Ellis

Nov 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
9765
by: james | last post by:
I have a custom UserControl, which can have many sub class levels derived from it. I want to be able to discover all the components at Load time, but the only components I can see from the base class are the private components internal to the base class itself. What I want are ALL components for the entire class no matter how many levels of...
3
3062
by: Apollo440 | last post by:
How to remove unused using directive? eg) using System; using System.Windows.Forms; <- i want to remove this unused using directive namespace foo { :
3
5766
by: Ram | last post by:
Hey, I'v got a group in ActiveDirectory that has about 2000 members. I want to remove a certain user from that group. When I tried to remove it using the group's DirectoryEntry: usersGroup.Children.Remove(userEntry) I get the following exception: "Cannot Remove The Specified Item Because It Was Not Found In The Specified Collection". When I...
9
1280
by: Bijoy Naick | last post by:
In my Visual Studio solution, I have 2 projects.. One project implements a newsletter object, the other a file upload user control. When I compile the solution, each project generates its own DLL. My question : How can I reuse these components in other solutions? What steps do I need to take to make the newsletter object and file upload user...
2
4003
by: AussieRules | last post by:
Hi, There use to be some 3rd party tools that would remove unused subs and function and unused code from vb projects. Is there are a way to do this in vb.net 03
9
20125
by: Charles Law | last post by:
I have a form on which user controls are placed at runtime. When a control is added to the form a handler is added for an event that a high-level object raises, which must be handled by the new control. When I close the form I am expecting that the control ceases to be. However, if my object raises the event after the form has been closed, I...
3
2616
by: Zorpiedoman | last post by:
Horay! I have just put the finishing touches on a new User Control... The" Jelly Button" I created a setup program which runs fine. I see the .dll nicely in the GAC. How come it does not show up in my Add/Remove componenets list when I try to add it to the toolbar?
6
6957
by: nickvans | last post by:
Hi all, I have a table called tblRecords that has "DashNum" as its primary key. The lowest value of this table is 116 and the highest value is 269, though there are some missing values. It is expected that records will be removed in the future, leaving more missing values. I would like to have a text box have as its default value the first...
13
9713
by: Rex Mottram | last post by:
I'm using an API which does a lot of callbacks. In classic callback style, each routine provides a void * pointer to carry user-defined data. Sometimes, however, the user-defined pointer is not needed which causes the compiler to spit out a "helpful" warning. For example: % cat unused.c #include <stdio.h> int foo(char *str, void *data) {
0
7438
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7707
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7951
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
6036
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5082
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3495
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3475
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1926
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1051
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.