Solved

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

Posted on 2004-08-10
7
224 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
Comment Utility
Where are you talking about?

Bob
0
 
LVL 2

Author Comment

by:rrbecker
Comment Utility
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
Comment Utility
Hi Bob,

Any Suggestions??

rrbecker
0
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 
LVL 96

Accepted Solution

by:
Bob Learned earned 125 total points
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Hi Bob,

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

rrbecker
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
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…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

772 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

11 Experts available now in Live!

Get 1:1 Help Now