473,322 Members | 1,703 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

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 "application"
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 2670
Got the solultion now, Thanks

"Ellis Yu" <el******@transfield.com> wrote in message
news:uC**************@TK2MSFTNGP14.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 "application"
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
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...
3
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
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:...
9
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....
2
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
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...
3
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...
6
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...
13
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...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.