?
Solved

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

Posted on 2004-08-10
7
Medium Priority
?
231 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 96

Accepted Solution

by:
Bob Learned earned 500 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

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…
If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses

770 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