Solved

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

Posted on 2004-08-10
7
229 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Independent Software Vendors: 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!

 
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

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Convert Ctime to date time in textfile? 7 63
System.net.Sockets Error 5 40
Code enhancement 4 33
Must we use a disconnected model when creating database applications? 6 26
Since .Net 2.0, Visual Basic has made it easy to create a splash screen and set it via the "Splash Screen" drop down in the Project Properties.  A splash screen set in this manner is automatically created, displayed and closed by the framework itsel…
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

726 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