Solved

Newbee: How to remove items from Toolbox - Entire DLL/Namespace

Posted on 2004-08-10
7
227 Views
Last Modified: 2010-04-23
Greetings,

I imported a DLL into the 'Customize Toolbox', form under the '.NET Framework Components' Tab and now I want to get rid of it entirely. I am not using any of the components listed under the particular Namespace  and would like to remove that Namespace altogether, However, I DO want to preserve some of the other currently Unused Namespace's that are present.

How do I eliminate one Namespace without affecting the others?

Thanks in advance

rrbecker
0
Comment
Question by:rrbecker
  • 4
  • 3
7 Comments
 
LVL 96

Expert Comment

by:Bob Learned
ID: 11767089
Where are you talking about?

Bob
0
 
LVL 2

Author Comment

by:rrbecker
ID: 11767998
Hi Bob,

OK Here's what I did and where,

(1) Executed Visual Studio 2003;
(2) Selected `New Project'
(3) Selected 'Visual Basic Projects' under the 'Project Type' header
(4) Selected 'Windows Application' under the 'Templates' header
(5)Clicked on the 'Toolbox' Tab
(6)Selected (clicked) the 'My User Controls' tab
(7)Right click on the 'My User Controls' tab (popup menu)
(8)Selected the 'Add/Remove Items ...' menu item
(9)The 'Customize Toolbox' dialog box is then displayed
(10) Clicked on the '.NET Framework Components' Tab
(11) Then clicked on the 'Browse' button.
(12) I then navigated to the folder that contained the Component DLL that I was interested in and selected it.
(13) All components contained in the DLL were loaded and displayed in the 'Customize Toolbox' dialog box along with the associated Namespace, the Component Name and a Checkbox to Select that item.
(14) I Checked several components then Clicked the 'OK' button
(15) 'My User Controls' tab now contains a list of the Components that I selected.

Now I want to, Not only remove the components from the 'My User Controls' tab (That the easy part, just Un-Check them from within the  'Customize Toolbox' dialog box ) but I also want to remove All components (of a given Namespace) from within the  'Customize Toolbox' dialog box. I guess what I want to do is to Un-register the DLL that I just added. ( how do i do that? )

I hope this better explains my desire.

rrbecker
0
 
LVL 2

Author Comment

by:rrbecker
ID: 11801950
Hi Bob,

Any Suggestions??

rrbecker
0
Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

 
LVL 96

Accepted Solution

by:
Bob Learned earned 125 total points
ID: 11809160
Well, first of all, there isn't any concept of "unregister" with .NET DLLs.  You should be able to uncheck all the items that you added to the toolbox, and even delete a tab (if you added one).  Then, you can remove the reference to the DLL, and delete the file, if necessary.

Bob
0
 
LVL 2

Author Comment

by:rrbecker
ID: 11810576
Hi Bob

" ....Then, you can remove the reference to the DLL,...."

OK, This is probably what I am after, so how I do I remove the reference and from where?

rrbecker

0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 11810619
Expand the References section under the Project.  From the Reference section, right-click on the library reference, and select Remove.  Or left-click on the reference, and hit the <Del> key.

Bob
0
 
LVL 2

Author Comment

by:rrbecker
ID: 11811301
Hi Bob,

Thanks, However I'm not sure which step caused the desired result but they are gone as desired.

rrbecker
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

813 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

18 Experts available now in Live!

Get 1:1 Help Now