• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 233
  • Last Modified:

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

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
rrbecker
Asked:
rrbecker
  • 4
  • 3
1 Solution
 
Bob LearnedCommented:
Where are you talking about?

Bob
0
 
rrbeckerAuthor Commented:
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
 
rrbeckerAuthor Commented:
Hi Bob,

Any Suggestions??

rrbecker
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
Bob LearnedCommented:
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
 
rrbeckerAuthor Commented:
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
 
Bob LearnedCommented:
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
 
rrbeckerAuthor Commented:
Hi Bob,

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

rrbecker
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now