[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

How to hide constituent UserControls in my UserControl VB.NET Project

Posted on 2008-06-09
1
Medium Priority
?
661 Views
Last Modified: 2013-11-26
Hello everyone

As a part of my Software development Project, I built a composite Usercontrol (much like an old Outlook Bar), that's made of several different constituent User Controls. The "OutlookBar" Build and works just fine. The problem I encounter is, that when the corresponding dll is added to the project, all the controls (main and constituent) are added to the toolbox.

How do I show only main Control, and none of the constituent ones in the toolbox?


Thank you
0
Comment
Question by:Endimion
[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
1 Comment
 

Accepted Solution

by:
Endimion earned 0 total points
ID: 21748602
I had already found a solution

There is an attribute called ToolboxItem that defines, whether the control is visible to tohe toolbox or not. If set to false, the control is not visible in the toolbox something like:

Imports System.ComponentModel
<ToolboxItem(False)> Public Class SidePanel
' User code here
End Class


Best regards

0

Featured Post

Tech or Treat!

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

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

This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…

650 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